pub enum ControlCurve {
Linear,
Exponential,
}Expand description
Ramp interpolation, separate from the mixer’s fade-easing curves.
Variants§
Linear
Exponential
Geometric interpolation in log2 space, requiring strictly positive source/target endpoints. Uses deterministic engine log2/exp2.
Trait Implementations§
Source§impl Clone for ControlCurve
impl Clone for ControlCurve
Source§fn clone(&self) -> ControlCurve
fn clone(&self) -> ControlCurve
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 moreimpl Copy for ControlCurve
Source§impl Debug for ControlCurve
impl Debug for ControlCurve
Source§impl Default for ControlCurve
impl Default for ControlCurve
Source§fn default() -> ControlCurve
fn default() -> ControlCurve
Returns the “default value” for a type. Read more
impl Eq for ControlCurve
Source§impl PartialEq for ControlCurve
impl PartialEq for ControlCurve
impl StructuralPartialEq for ControlCurve
Auto Trait Implementations§
impl Freeze for ControlCurve
impl RefUnwindSafe for ControlCurve
impl Send for ControlCurve
impl Sync for ControlCurve
impl Unpin for ControlCurve
impl UnsafeUnpin for ControlCurve
impl UnwindSafe for ControlCurve
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