Enum Detectmode
#[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§
§impl Detectmode
impl Detectmode
pub const fn from_bits(val: u8) -> Detectmode
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Detectmode
impl Clone for Detectmode
§fn clone(&self) -> Detectmode
fn clone(&self) -> Detectmode
Returns a copy 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 more§impl From<u8> for Detectmode
impl From<u8> for Detectmode
§fn from(val: u8) -> Detectmode
fn from(val: u8) -> Detectmode
Converts to this type from the input type.
§impl Ord for Detectmode
impl Ord for Detectmode
§impl PartialEq for Detectmode
impl PartialEq for Detectmode
§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)