#[repr(u8)]pub enum Oversample {
Show 16 variants
Bypass = 0,
Over2x = 1,
Over4x = 2,
Over8x = 3,
Over16x = 4,
Over32x = 5,
Over64x = 6,
Over128x = 7,
Over256x = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
Bypass = 0
Bypass oversampling.
Over2x = 1
Oversample 2x.
Over4x = 2
Oversample 4x.
Over8x = 3
Oversample 8x.
Over16x = 4
Oversample 16x.
Over32x = 5
Oversample 32x.
Over64x = 6
Oversample 64x.
Over128x = 7
Oversample 128x.
Over256x = 8
Oversample 256x.
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Source§impl Oversample
impl Oversample
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Oversample
impl Debug for Oversample
Source§impl From<Oversample> for u8
impl From<Oversample> for u8
Source§fn from(val: Oversample) -> u8
fn from(val: Oversample) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Oversample
impl From<u8> for Oversample
Source§fn from(val: u8) -> Oversample
fn from(val: u8) -> Oversample
Converts to this type from the input type.
Source§impl Ord for Oversample
impl Ord for Oversample
Source§fn cmp(&self, other: &Oversample) -> Ordering
fn cmp(&self, other: &Oversample) -> 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 Oversample
impl PartialEq for Oversample
Source§impl PartialOrd for Oversample
impl PartialOrd for Oversample
impl Copy for Oversample
impl Eq 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 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