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