#[repr(u8)]pub enum P1BytemodeInt {
P1_BYTEMODE_INT0 = 0,
P1_BYTEMODE_INT1 = 1,
}Variants§
P1_BYTEMODE_INT0 = 0
Indicates normal operation
P1_BYTEMODE_INT1 = 1
Indicates that a Bytemode change has been detected (OpCode E9 or B7)
Implementations§
Source§impl P1BytemodeInt
impl P1BytemodeInt
Trait Implementations§
Source§impl Clone for P1BytemodeInt
impl Clone for P1BytemodeInt
Source§fn clone(&self) -> P1BytemodeInt
fn clone(&self) -> P1BytemodeInt
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 P1BytemodeInt
impl Debug for P1BytemodeInt
Source§impl From<P1BytemodeInt> for u8
impl From<P1BytemodeInt> for u8
Source§fn from(val: P1BytemodeInt) -> u8
fn from(val: P1BytemodeInt) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P1BytemodeInt
impl From<u8> for P1BytemodeInt
Source§fn from(val: u8) -> P1BytemodeInt
fn from(val: u8) -> P1BytemodeInt
Converts to this type from the input type.
Source§impl Ord for P1BytemodeInt
impl Ord for P1BytemodeInt
Source§fn cmp(&self, other: &P1BytemodeInt) -> Ordering
fn cmp(&self, other: &P1BytemodeInt) -> 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 P1BytemodeInt
impl PartialEq for P1BytemodeInt
Source§impl PartialOrd for P1BytemodeInt
impl PartialOrd for P1BytemodeInt
impl Copy for P1BytemodeInt
impl Eq for P1BytemodeInt
impl StructuralPartialEq for P1BytemodeInt
Auto Trait Implementations§
impl Freeze for P1BytemodeInt
impl RefUnwindSafe for P1BytemodeInt
impl Send for P1BytemodeInt
impl Sync for P1BytemodeInt
impl Unpin for P1BytemodeInt
impl UnwindSafe for P1BytemodeInt
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