#[repr(u8)]pub enum StartSense {
START_SENSE_0 = 0,
START_SENSE_1 = 1,
}Variants§
START_SENSE_0 = 0
Stay at idle status
START_SENSE_1 = 1
Start sense detection and (if auto_measure set to 1) measure after detect a touch
Implementations§
Source§impl StartSense
impl StartSense
Trait Implementations§
Source§impl Clone for StartSense
impl Clone for StartSense
Source§fn clone(&self) -> StartSense
fn clone(&self) -> StartSense
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 StartSense
impl Debug for StartSense
Source§impl From<StartSense> for u8
impl From<StartSense> for u8
Source§fn from(val: StartSense) -> u8
fn from(val: StartSense) -> u8
Converts to this type from the input type.
Source§impl From<u8> for StartSense
impl From<u8> for StartSense
Source§fn from(val: u8) -> StartSense
fn from(val: u8) -> StartSense
Converts to this type from the input type.
Source§impl Ord for StartSense
impl Ord for StartSense
Source§fn cmp(&self, other: &StartSense) -> Ordering
fn cmp(&self, other: &StartSense) -> 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 StartSense
impl PartialEq for StartSense
Source§impl PartialOrd for StartSense
impl PartialOrd for StartSense
impl Copy for StartSense
impl Eq for StartSense
impl StructuralPartialEq for StartSense
Auto Trait Implementations§
impl Freeze for StartSense
impl RefUnwindSafe for StartSense
impl Send for StartSense
impl Sync for StartSense
impl Unpin for StartSense
impl UnwindSafe for StartSense
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