#[repr(u8)]pub enum BuiltinEnvelopeShape {
FadeOut = 9,
FadeIn = 13,
Tooth = 15,
Saw = 12,
Triangle = 14,
}Expand description
A helper enum for setting the envelope’s shape.
To invert the shape use Envelope::InvertedBuiltin(BuiltinEnvelopeShape).
Variants§
FadeOut = 9
Fade out and hold low
FadeIn = 13
Fade in and hold high
Tooth = 15
Fade in then hold low
Saw = 12
Fade in every repetition
Triangle = 14
Alternate between fade out and fade in
Trait Implementations§
Source§impl Clone for BuiltinEnvelopeShape
impl Clone for BuiltinEnvelopeShape
Source§fn clone(&self) -> BuiltinEnvelopeShape
fn clone(&self) -> BuiltinEnvelopeShape
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 BuiltinEnvelopeShape
impl Debug for BuiltinEnvelopeShape
impl Copy for BuiltinEnvelopeShape
Auto Trait Implementations§
impl Freeze for BuiltinEnvelopeShape
impl RefUnwindSafe for BuiltinEnvelopeShape
impl Send for BuiltinEnvelopeShape
impl Sync for BuiltinEnvelopeShape
impl Unpin for BuiltinEnvelopeShape
impl UnwindSafe for BuiltinEnvelopeShape
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