pub enum EnvelopeShape {
Linear,
Exponential(f64),
Custom(String),
}Expand description
The interpolation curve applied across an Envelope.
Variants§
Linear
Straight-line segments between envelope stages.
Exponential(f64)
Linear segments raised to the given exponent for a curved response.
Custom(String)
A named custom shape, treated as linear by the built-in sampler.
Trait Implementations§
Source§impl Clone for EnvelopeShape
impl Clone for EnvelopeShape
Source§fn clone(&self) -> EnvelopeShape
fn clone(&self) -> EnvelopeShape
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 EnvelopeShape
impl Debug for EnvelopeShape
Source§impl PartialEq for EnvelopeShape
impl PartialEq for EnvelopeShape
impl StructuralPartialEq for EnvelopeShape
Auto Trait Implementations§
impl Freeze for EnvelopeShape
impl RefUnwindSafe for EnvelopeShape
impl Send for EnvelopeShape
impl Sync for EnvelopeShape
impl Unpin for EnvelopeShape
impl UnsafeUnpin for EnvelopeShape
impl UnwindSafe for EnvelopeShape
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