pub struct Envelope {
pub attack_ms: f32,
pub decay_ms: f32,
pub sustain: f32,
pub release_ms: f32,
pub shape: Shape,
}Fields§
§attack_ms: f32§decay_ms: f32§sustain: f32§release_ms: f32§shape: ShapeTrait Implementations§
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 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