#[repr(u8)]pub enum P0ByteMdRst {
P0_BYTE_MD_RST0 = 0,
P0_BYTE_MD_RST1 = 1,
}Variants§
P0_BYTE_MD_RST0 = 0
3-byte mode after device reset.
P0_BYTE_MD_RST1 = 1
4-byte mode after device reset.
Implementations§
Source§impl P0ByteMdRst
impl P0ByteMdRst
Trait Implementations§
Source§impl Clone for P0ByteMdRst
impl Clone for P0ByteMdRst
Source§fn clone(&self) -> P0ByteMdRst
fn clone(&self) -> P0ByteMdRst
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 P0ByteMdRst
impl Debug for P0ByteMdRst
Source§impl From<P0ByteMdRst> for u8
impl From<P0ByteMdRst> for u8
Source§fn from(val: P0ByteMdRst) -> u8
fn from(val: P0ByteMdRst) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P0ByteMdRst
impl From<u8> for P0ByteMdRst
Source§fn from(val: u8) -> P0ByteMdRst
fn from(val: u8) -> P0ByteMdRst
Converts to this type from the input type.
Source§impl Ord for P0ByteMdRst
impl Ord for P0ByteMdRst
Source§fn cmp(&self, other: &P0ByteMdRst) -> Ordering
fn cmp(&self, other: &P0ByteMdRst) -> 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 P0ByteMdRst
impl PartialEq for P0ByteMdRst
Source§impl PartialOrd for P0ByteMdRst
impl PartialOrd for P0ByteMdRst
impl Copy for P0ByteMdRst
impl Eq for P0ByteMdRst
impl StructuralPartialEq for P0ByteMdRst
Auto Trait Implementations§
impl Freeze for P0ByteMdRst
impl RefUnwindSafe for P0ByteMdRst
impl Send for P0ByteMdRst
impl Sync for P0ByteMdRst
impl Unpin for P0ByteMdRst
impl UnwindSafe for P0ByteMdRst
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