pub enum EnvelopeStage {
Idle,
Attack,
Decay,
Sustain,
Release,
}Expand description
ADSR envelope stages.
The envelope progresses through: Idle -> Attack -> Decay -> Sustain -> Release -> Idle.
Variants§
Trait Implementations§
Source§impl Clone for EnvelopeStage
impl Clone for EnvelopeStage
Source§fn clone(&self) -> EnvelopeStage
fn clone(&self) -> EnvelopeStage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnvelopeStage
impl Debug for EnvelopeStage
Source§impl PartialEq for EnvelopeStage
impl PartialEq for EnvelopeStage
impl Copy for EnvelopeStage
impl Eq for EnvelopeStage
impl StructuralPartialEq for EnvelopeStage
Auto Trait Implementations§
impl Freeze for EnvelopeStage
impl RefUnwindSafe for EnvelopeStage
impl Send for EnvelopeStage
impl Sync for EnvelopeStage
impl Unpin for EnvelopeStage
impl UnwindSafe for EnvelopeStage
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