pub struct Envelope {
pub attack_secs: f32,
pub release_secs: f32,
pub hold_secs: f32,
/* private fields */
}Expand description
Amplitude envelope follower with attack, hold, and release stages.
Fields§
§attack_secs: f32Attack time constant in seconds.
release_secs: f32Release time constant in seconds.
hold_secs: f32Hold time in seconds before release begins.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnsafeUnpin 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