pub struct Envelope {
pub attack_duration: Duration,
pub attack_level: u16,
pub fade_duration: Duration,
pub fade_level: u16,
}Expand description
Envelope, used by some effects
Fields§
§attack_duration: Duration§attack_level: u16Level at the beginning of the attack
fade_duration: Duration§fade_level: u16Level at the end of fade
Trait Implementations§
impl Copy for Envelope
impl Eq 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