#[repr(u8)]pub enum OversamplingRatio {
RATIO2 = 0,
RATIO4 = 1,
RATIO8 = 2,
RATIO16 = 3,
RATIO32 = 4,
RATIO64 = 5,
RATIO128 = 6,
RATIO256 = 7,
}
Variants§
RATIO2 = 0
2x Oversampling Ratio
RATIO4 = 1
4x Oversampling Ratio
RATIO8 = 2
8x Oversampling Ratio
RATIO16 = 3
16x Oversampling Ratio
RATIO32 = 4
32x Oversampling Ratio
RATIO64 = 5
64x Oversampling Ratio
RATIO128 = 6
128x Oversampling Ratio
RATIO256 = 7
256x Oversampling Ratio
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