#[repr(u8)]pub enum DetectEnableFiveWire {
DETECT_ENABLE_FIVE_WIRE_0 = 0,
DETECT_ENABLE_FIVE_WIRE_1 = 1,
}Variants§
DETECT_ENABLE_FIVE_WIRE_0 = 0
Do not read five wire detect value, read default value from analogue
DETECT_ENABLE_FIVE_WIRE_1 = 1
Read five wire detect status from analogue
Implementations§
Trait Implementations§
Source§impl Clone for DetectEnableFiveWire
impl Clone for DetectEnableFiveWire
Source§fn clone(&self) -> DetectEnableFiveWire
fn clone(&self) -> DetectEnableFiveWire
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 DetectEnableFiveWire
impl Debug for DetectEnableFiveWire
Source§impl From<DetectEnableFiveWire> for u8
impl From<DetectEnableFiveWire> for u8
Source§fn from(val: DetectEnableFiveWire) -> u8
fn from(val: DetectEnableFiveWire) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DetectEnableFiveWire
impl From<u8> for DetectEnableFiveWire
Source§fn from(val: u8) -> DetectEnableFiveWire
fn from(val: u8) -> DetectEnableFiveWire
Converts to this type from the input type.
Source§impl Ord for DetectEnableFiveWire
impl Ord for DetectEnableFiveWire
Source§fn cmp(&self, other: &DetectEnableFiveWire) -> Ordering
fn cmp(&self, other: &DetectEnableFiveWire) -> 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 DetectEnableFiveWire
impl PartialEq for DetectEnableFiveWire
Source§impl PartialOrd for DetectEnableFiveWire
impl PartialOrd for DetectEnableFiveWire
impl Copy for DetectEnableFiveWire
impl Eq for DetectEnableFiveWire
impl StructuralPartialEq for DetectEnableFiveWire
Auto Trait Implementations§
impl Freeze for DetectEnableFiveWire
impl RefUnwindSafe for DetectEnableFiveWire
impl Send for DetectEnableFiveWire
impl Sync for DetectEnableFiveWire
impl Unpin for DetectEnableFiveWire
impl UnwindSafe for DetectEnableFiveWire
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