pub enum KeyboardDragKey {
Activate,
Cancel,
Navigate(Direction),
}Expand description
Key events relevant to keyboard drag operations.
Variants§
Activate
Activation key (Space or Enter by default).
Cancel
Cancellation key (Escape by default).
Navigation key.
Trait Implementations§
Source§impl Clone for KeyboardDragKey
impl Clone for KeyboardDragKey
Source§fn clone(&self) -> KeyboardDragKey
fn clone(&self) -> KeyboardDragKey
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 KeyboardDragKey
Source§impl Debug for KeyboardDragKey
impl Debug for KeyboardDragKey
impl Eq for KeyboardDragKey
Source§impl PartialEq for KeyboardDragKey
impl PartialEq for KeyboardDragKey
Source§fn eq(&self, other: &KeyboardDragKey) -> bool
fn eq(&self, other: &KeyboardDragKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KeyboardDragKey
Auto Trait Implementations§
impl Freeze for KeyboardDragKey
impl RefUnwindSafe for KeyboardDragKey
impl Send for KeyboardDragKey
impl Sync for KeyboardDragKey
impl Unpin for KeyboardDragKey
impl UnsafeUnpin for KeyboardDragKey
impl UnwindSafe for KeyboardDragKey
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.