pub enum TriggerState {
Idle,
Pressed,
Hold,
Released,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TriggerState
impl Clone for TriggerState
Source§fn clone(&self) -> TriggerState
fn clone(&self) -> TriggerState
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 TriggerState
impl Debug for TriggerState
Source§impl PartialEq for TriggerState
impl PartialEq for TriggerState
impl Copy for TriggerState
impl Eq for TriggerState
impl StructuralPartialEq for TriggerState
Auto Trait Implementations§
impl Freeze for TriggerState
impl RefUnwindSafe for TriggerState
impl Send for TriggerState
impl Sync for TriggerState
impl Unpin for TriggerState
impl UnwindSafe for TriggerState
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