#[repr(u8)]pub enum OversamplingShift {
Show 16 variants
SHIFT0 = 0,
SHIFT1 = 1,
SHIFT2 = 2,
SHIFT3 = 3,
SHIFT4 = 4,
SHIFT5 = 5,
SHIFT6 = 6,
SHIFT7 = 7,
SHIFT8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}
Variants§
SHIFT0 = 0
No shift
SHIFT1 = 1
Shift 1-bit
SHIFT2 = 2
Shift 2-bits
SHIFT3 = 3
Shift 3-bits
SHIFT4 = 4
Shift 4-bits
SHIFT5 = 5
Shift 5-bits
SHIFT6 = 6
Shift 6-bits
SHIFT7 = 7
Shift 7-bits
SHIFT8 = 8
Shift 8-bits
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
Source§impl Clone for OversamplingShift
impl Clone for OversamplingShift
Source§fn clone(&self) -> OversamplingShift
fn clone(&self) -> OversamplingShift
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 OversamplingShift
impl Debug for OversamplingShift
Source§impl Format for OversamplingShift
impl Format for OversamplingShift
Source§impl From<u8> for OversamplingShift
impl From<u8> for OversamplingShift
Source§fn from(val: u8) -> OversamplingShift
fn from(val: u8) -> OversamplingShift
Converts to this type from the input type.
Source§impl Ord for OversamplingShift
impl Ord for OversamplingShift
Source§fn cmp(&self, other: &OversamplingShift) -> Ordering
fn cmp(&self, other: &OversamplingShift) -> 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 OversamplingShift
impl PartialEq for OversamplingShift
Source§impl PartialOrd for OversamplingShift
impl PartialOrd for OversamplingShift
impl Copy for OversamplingShift
impl Eq for OversamplingShift
impl StructuralPartialEq for OversamplingShift
Auto Trait Implementations§
impl Freeze for OversamplingShift
impl RefUnwindSafe for OversamplingShift
impl Send for OversamplingShift
impl Sync for OversamplingShift
impl Unpin for OversamplingShift
impl UnwindSafe for OversamplingShift
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