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