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