Enum Oversample
#[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§
§impl Oversample
impl Oversample
pub const fn from_bits(val: u8) -> Oversample
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Oversample
impl Clone for Oversample
§fn clone(&self) -> Oversample
fn clone(&self) -> Oversample
Returns a copy 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 more§impl From<u8> for Oversample
impl From<u8> for Oversample
§fn from(val: u8) -> Oversample
fn from(val: u8) -> Oversample
Converts to this type from the input type.
§impl Ord for Oversample
impl Ord for Oversample
§impl PartialEq for Oversample
impl PartialEq for Oversample
§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)