pub enum Waveshape {
Tanh,
Cubic,
HardClip,
}Expand description
Nonlinear transfer curve used by Waveshaper.
Variants§
Tanh
Hyperbolic-tangent soft saturation.
Cubic
Cubic soft saturation.
HardClip
Hard clip to -1.0..=1.0.
Trait Implementations§
impl Copy for Waveshape
impl Eq for Waveshape
impl StructuralPartialEq for Waveshape
Auto Trait Implementations§
impl Freeze for Waveshape
impl RefUnwindSafe for Waveshape
impl Send for Waveshape
impl Sync for Waveshape
impl Unpin for Waveshape
impl UnsafeUnpin for Waveshape
impl UnwindSafe for Waveshape
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