#[repr(u8)]pub enum OversamplingRatio {
OVERSAMPLE2X = 0,
OVERSAMPLE4X = 1,
OVERSAMPLE8X = 2,
OVERSAMPLE16X = 3,
OVERSAMPLE32X = 4,
OVERSAMPLE64X = 5,
OVERSAMPLE128X = 6,
OVERSAMPLE256X = 7,
}
Variants§
OVERSAMPLE2X = 0
Oversample 2 times
OVERSAMPLE4X = 1
Oversample 4 times
OVERSAMPLE8X = 2
Oversample 8 times
OVERSAMPLE16X = 3
Oversample 16 times
OVERSAMPLE32X = 4
Oversample 32 times
OVERSAMPLE64X = 5
Oversample 64 times
OVERSAMPLE128X = 6
Oversample 128 times
OVERSAMPLE256X = 7
Oversample 256 times
Implementations§
Trait Implementations§
Source§impl Clone for OversamplingRatio
impl Clone for OversamplingRatio
Source§fn clone(&self) -> OversamplingRatio
fn clone(&self) -> OversamplingRatio
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OversamplingRatio
impl Debug for OversamplingRatio
Source§impl Format for OversamplingRatio
impl Format for OversamplingRatio
Source§impl From<u8> for OversamplingRatio
impl From<u8> for OversamplingRatio
Source§fn from(val: u8) -> OversamplingRatio
fn from(val: u8) -> OversamplingRatio
Converts to this type from the input type.
Source§impl Ord for OversamplingRatio
impl Ord for OversamplingRatio
Source§fn cmp(&self, other: &OversamplingRatio) -> Ordering
fn cmp(&self, other: &OversamplingRatio) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OversamplingRatio
impl PartialEq for OversamplingRatio
Source§impl PartialOrd for OversamplingRatio
impl PartialOrd for OversamplingRatio
impl Copy for OversamplingRatio
impl Eq for OversamplingRatio
impl StructuralPartialEq for OversamplingRatio
Auto Trait Implementations§
impl Freeze for OversamplingRatio
impl RefUnwindSafe for OversamplingRatio
impl Send for OversamplingRatio
impl Sync for OversamplingRatio
impl Unpin for OversamplingRatio
impl UnwindSafe for OversamplingRatio
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