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