pub struct ActionMode(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl ActionMode
impl ActionMode
pub const PRESS: ActionMode
pub const RELEASE: ActionMode
Trait Implementations§
Source§impl Clone for ActionMode
impl Clone for ActionMode
Source§fn clone(&self) -> ActionMode
fn clone(&self) -> ActionMode
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 ActionMode
impl Debug for ActionMode
Source§impl From<ActionMode> for i64
impl From<ActionMode> for i64
Source§fn from(v: ActionMode) -> Self
fn from(v: ActionMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for ActionMode
impl From<i64> for ActionMode
Source§impl FromVariant for ActionMode
impl FromVariant for ActionMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for ActionMode
impl Hash for ActionMode
Source§impl Ord for ActionMode
impl Ord for ActionMode
Source§fn cmp(&self, other: &ActionMode) -> Ordering
fn cmp(&self, other: &ActionMode) -> Ordering
1.21.0 · 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 PartialEq for ActionMode
impl PartialEq for ActionMode
Source§impl PartialOrd for ActionMode
impl PartialOrd for ActionMode
impl Copy for ActionMode
impl Eq for ActionMode
impl StructuralPartialEq for ActionMode
Auto Trait Implementations§
impl Freeze for ActionMode
impl RefUnwindSafe for ActionMode
impl Send for ActionMode
impl Sync for ActionMode
impl Unpin for ActionMode
impl UnwindSafe for ActionMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.