pub enum Oversample {
Off,
X2,
X4,
}Expand description
Oversampling factor for nonlinear stages.
Variants§
Off
No oversampling — the nonlinearity runs at the base sample rate.
X2
2x oversampling.
X4
4x oversampling.
Implementations§
Trait Implementations§
Source§impl Clone for Oversample
impl Clone for Oversample
Source§fn clone(&self) -> Oversample
fn clone(&self) -> Oversample
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 Oversample
Source§impl Debug for Oversample
impl Debug for Oversample
Source§impl Default for Oversample
impl Default for Oversample
Source§fn default() -> Oversample
fn default() -> Oversample
Returns the “default value” for a type. Read more
impl Eq for Oversample
Source§impl PartialEq for Oversample
impl PartialEq for Oversample
impl StructuralPartialEq for Oversample
Auto Trait Implementations§
impl Freeze for Oversample
impl RefUnwindSafe for Oversample
impl Send for Oversample
impl Sync for Oversample
impl Unpin for Oversample
impl UnsafeUnpin for Oversample
impl UnwindSafe for Oversample
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