Enum Dataenable
#[repr(u8)]pub enum Dataenable {
Show 16 variants
Disabled = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
Enabled = 15,
}Variants§
Disabled = 0
Delayed sampling is disabled.
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
Enabled = 15
Delayed sampling is enabled.
Implementations§
§impl Dataenable
impl Dataenable
pub const fn from_bits(val: u8) -> Dataenable
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Dataenable
impl Clone for Dataenable
§fn clone(&self) -> Dataenable
fn clone(&self) -> Dataenable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Dataenable
§impl Debug for Dataenable
impl Debug for Dataenable
impl Eq for Dataenable
§impl From<u8> for Dataenable
impl From<u8> for Dataenable
§fn from(val: u8) -> Dataenable
fn from(val: u8) -> Dataenable
Converts to this type from the input type.
§impl Ord for Dataenable
impl Ord for Dataenable
§fn cmp(&self, other: &Dataenable) -> Ordering
fn cmp(&self, other: &Dataenable) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for Dataenable
impl PartialEq for Dataenable
§impl PartialOrd for Dataenable
impl PartialOrd for Dataenable
impl StructuralPartialEq for Dataenable
Auto Trait Implementations§
impl Freeze for Dataenable
impl RefUnwindSafe for Dataenable
impl Send for Dataenable
impl Sync for Dataenable
impl Unpin for Dataenable
impl UnsafeUnpin for Dataenable
impl UnwindSafe for Dataenable
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