pub struct Effect {
pub reference: String,
pub desc: SoundEffect,
pub buffers: Vec<Vec<Option<Sound>>>,
}Expand description
A SoundEffect with its decoded buffers (per sound, per variant).
Fields§
§reference: StringThe effect’s resource reference.
desc: SoundEffectThe effect: its timeline of sounds, variants, radius and length.
buffers: Vec<Vec<Option<Sound>>>The decoded sounds, for each sound of the timeline and each variant (None when one could
not be decoded).
Auto Trait Implementations§
impl Freeze for Effect
impl RefUnwindSafe for Effect
impl Send for Effect
impl Sync for Effect
impl Unpin for Effect
impl UnsafeUnpin for Effect
impl UnwindSafe for Effect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more