Struct gilrs::ff::base_effect::Envelope
source · pub struct Envelope {
pub attack_length: Ticks,
pub attack_level: f32,
pub fade_length: Ticks,
pub fade_level: f32,
}
Expand description
Envelope shaped attenuation(time) function.
Fields§
§attack_length: Ticks
§attack_level: f32
§fade_length: Ticks
§fade_level: f32
Implementations§
Trait Implementations§
source§impl PartialEq for Envelope
impl PartialEq for Envelope
impl Copy for Envelope
impl StructuralPartialEq for Envelope
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnwindSafe for Envelope
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