#[repr(u8)]pub enum TriggerDirection {
UNKNOWN = 0,
Rise = 1,
Fall = 2,
}Variants§
Trait Implementations§
Source§impl Clone for TriggerDirection
impl Clone for TriggerDirection
Source§fn clone(&self) -> TriggerDirection
fn clone(&self) -> TriggerDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TriggerDirection
Source§impl Debug for TriggerDirection
impl Debug for TriggerDirection
Source§impl<'de> Deserialize<'de> for TriggerDirection
impl<'de> Deserialize<'de> for TriggerDirection
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TriggerDirection
impl PartialEq for TriggerDirection
Source§fn eq(&self, other: &TriggerDirection) -> bool
fn eq(&self, other: &TriggerDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TriggerDirection
impl Serialize for TriggerDirection
impl StructuralPartialEq for TriggerDirection
Auto Trait Implementations§
impl Freeze for TriggerDirection
impl RefUnwindSafe for TriggerDirection
impl Send for TriggerDirection
impl Sync for TriggerDirection
impl Unpin for TriggerDirection
impl UnsafeUnpin for TriggerDirection
impl UnwindSafe for TriggerDirection
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