pub enum GripState {
Open,
Closed,
Holding,
Released,
Unknown,
Custom(String),
}Expand description
Descriptive grip state vocabulary.
Variants§
Open
Open grip state.
Closed
Closed grip state.
Holding
Holding grip state.
Released
Released grip state.
Unknown
Unknown grip state.
Custom(String)
Caller-defined grip state text.
Trait Implementations§
Source§impl Ord for GripState
impl Ord for GripState
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for GripState
impl PartialOrd for GripState
impl Eq for GripState
impl StructuralPartialEq for GripState
Auto Trait Implementations§
impl Freeze for GripState
impl RefUnwindSafe for GripState
impl Send for GripState
impl Sync for GripState
impl Unpin for GripState
impl UnsafeUnpin for GripState
impl UnwindSafe for GripState
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