pub enum TriggerSlope {
Falling = 0,
Rising = 1,
}Variants§
Trait Implementations§
Source§impl Clone for TriggerSlope
impl Clone for TriggerSlope
Source§fn clone(&self) -> TriggerSlope
fn clone(&self) -> TriggerSlope
Returns a duplicate 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 TriggerSlope
impl Debug for TriggerSlope
Source§impl From<TriggerSlope> for u16
impl From<TriggerSlope> for u16
Source§fn from(slope: TriggerSlope) -> Self
fn from(slope: TriggerSlope) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TriggerSlope
impl PartialEq for TriggerSlope
Source§impl TryFrom<u16> for TriggerSlope
impl TryFrom<u16> for TriggerSlope
impl Copy for TriggerSlope
impl Eq for TriggerSlope
impl StructuralPartialEq for TriggerSlope
Auto Trait Implementations§
impl Freeze for TriggerSlope
impl RefUnwindSafe for TriggerSlope
impl Send for TriggerSlope
impl Sync for TriggerSlope
impl Unpin for TriggerSlope
impl UnwindSafe for TriggerSlope
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