pub enum EnvelopeType {
ADSR,
AR,
ASR,
AHDSR,
}Expand description
Envelope shape type.
Variants§
ADSR
Attack, Decay, Sustain, Release.
AR
Attack, Release (suitable for percussion).
ASR
Attack, Sustain, Release (suitable for organ sounds).
AHDSR
Attack, Hold, Decay, Sustain, Release.
Trait Implementations§
Source§impl Clone for EnvelopeType
impl Clone for EnvelopeType
Source§fn clone(&self) -> EnvelopeType
fn clone(&self) -> EnvelopeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EnvelopeType
impl Debug for EnvelopeType
Source§impl PartialEq for EnvelopeType
impl PartialEq for EnvelopeType
Source§fn eq(&self, other: &EnvelopeType) -> bool
fn eq(&self, other: &EnvelopeType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EnvelopeType
impl StructuralPartialEq for EnvelopeType
Auto Trait Implementations§
impl Freeze for EnvelopeType
impl RefUnwindSafe for EnvelopeType
impl Send for EnvelopeType
impl Sync for EnvelopeType
impl Unpin for EnvelopeType
impl UnsafeUnpin for EnvelopeType
impl UnwindSafe for EnvelopeType
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