#[repr(u8)]pub enum Sense6select {
None = 0,
Rise = 1,
Fall = 2,
Both = 3,
High = 4,
Low = 5,
}
Expand description
Input Sense 6 Configuration
Value on reset: 0
Variants§
None = 0
0: No detection
Rise = 1
1: Rising edge detection
Fall = 2
2: Falling edge detection
Both = 3
3: Both edges detection
High = 4
4: High level detection
Low = 5
5: Low level detection
Trait Implementations§
Source§impl Clone for Sense6select
impl Clone for Sense6select
Source§fn clone(&self) -> Sense6select
fn clone(&self) -> Sense6select
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 moreSource§impl Debug for Sense6select
impl Debug for Sense6select
Source§impl From<Sense6select> for u8
impl From<Sense6select> for u8
Source§fn from(variant: Sense6select) -> Self
fn from(variant: Sense6select) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Sense6select
impl PartialEq for Sense6select
impl Copy for Sense6select
impl Eq for Sense6select
impl IsEnum for Sense6select
impl StructuralPartialEq for Sense6select
Auto Trait Implementations§
impl Freeze for Sense6select
impl RefUnwindSafe for Sense6select
impl Send for Sense6select
impl Sync for Sense6select
impl Unpin for Sense6select
impl UnwindSafe for Sense6select
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