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