#[repr(u8)]pub enum Detectmode {
    DEFAULT = 0,
    LDETECT = 1,
}Variants§
DEFAULT = 0
DETECT directly connected to PIN DETECT signals
LDETECT = 1
Use the latched LDETECT behavior
Implementations§
Source§impl Detectmode
 
impl Detectmode
Trait Implementations§
Source§impl Clone for Detectmode
 
impl Clone for Detectmode
Source§fn clone(&self) -> Detectmode
 
fn clone(&self) -> Detectmode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
 
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for Detectmode
 
impl Debug for Detectmode
Source§impl From<Detectmode> for u8
 
impl From<Detectmode> for u8
Source§fn from(val: Detectmode) -> u8
 
fn from(val: Detectmode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Detectmode
 
impl From<u8> for Detectmode
Source§fn from(val: u8) -> Detectmode
 
fn from(val: u8) -> Detectmode
Converts to this type from the input type.
Source§impl Ord for Detectmode
 
impl Ord for Detectmode
Source§fn cmp(&self, other: &Detectmode) -> Ordering
 
fn cmp(&self, other: &Detectmode) -> 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 Detectmode
 
impl PartialEq for Detectmode
Source§impl PartialOrd for Detectmode
 
impl PartialOrd for Detectmode
impl Copy for Detectmode
impl Eq for Detectmode
impl StructuralPartialEq for Detectmode
Auto Trait Implementations§
impl Freeze for Detectmode
impl RefUnwindSafe for Detectmode
impl Send for Detectmode
impl Sync for Detectmode
impl Unpin for Detectmode
impl UnwindSafe for Detectmode
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