#[repr(u8)]pub enum StateMachine {
STATE_MACHINE_0 = 0,
STATE_MACHINE_1 = 1,
STATE_MACHINE_2 = 2,
STATE_MACHINE_3 = 3,
STATE_MACHINE_4 = 4,
STATE_MACHINE_5 = 5,
STATE_MACHINE_6 = 6,
_RESERVED_7 = 7,
}Variants§
STATE_MACHINE_0 = 0
Idle
STATE_MACHINE_1 = 1
Pre-charge
STATE_MACHINE_2 = 2
Detect
STATE_MACHINE_3 = 3
X-measure
STATE_MACHINE_4 = 4
Y-measure
STATE_MACHINE_5 = 5
Pre-charge
STATE_MACHINE_6 = 6
Detect
_RESERVED_7 = 7
Implementations§
Source§impl StateMachine
impl StateMachine
Trait Implementations§
Source§impl Clone for StateMachine
impl Clone for StateMachine
Source§fn clone(&self) -> StateMachine
fn clone(&self) -> StateMachine
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 StateMachine
impl Debug for StateMachine
Source§impl From<StateMachine> for u8
impl From<StateMachine> for u8
Source§fn from(val: StateMachine) -> u8
fn from(val: StateMachine) -> u8
Converts to this type from the input type.
Source§impl From<u8> for StateMachine
impl From<u8> for StateMachine
Source§fn from(val: u8) -> StateMachine
fn from(val: u8) -> StateMachine
Converts to this type from the input type.
Source§impl Ord for StateMachine
impl Ord for StateMachine
Source§fn cmp(&self, other: &StateMachine) -> Ordering
fn cmp(&self, other: &StateMachine) -> 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 StateMachine
impl PartialEq for StateMachine
Source§impl PartialOrd for StateMachine
impl PartialOrd for StateMachine
impl Copy for StateMachine
impl Eq for StateMachine
impl StructuralPartialEq for StateMachine
Auto Trait Implementations§
impl Freeze for StateMachine
impl RefUnwindSafe for StateMachine
impl Send for StateMachine
impl Sync for StateMachine
impl Unpin for StateMachine
impl UnwindSafe for StateMachine
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