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