pub enum KeyboardDragMode {
Inactive,
Holding,
Navigating,
}Expand description
Current mode of a keyboard drag operation.
Variants§
Inactive
No keyboard drag in progress.
Holding
Item picked up, awaiting target selection.
Actively navigating between drop targets.
Implementations§
Trait Implementations§
Source§impl Clone for KeyboardDragMode
impl Clone for KeyboardDragMode
Source§fn clone(&self) -> KeyboardDragMode
fn clone(&self) -> KeyboardDragMode
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 KeyboardDragMode
impl Debug for KeyboardDragMode
Source§impl Default for KeyboardDragMode
impl Default for KeyboardDragMode
Source§fn default() -> KeyboardDragMode
fn default() -> KeyboardDragMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for KeyboardDragMode
impl PartialEq for KeyboardDragMode
impl Copy for KeyboardDragMode
impl Eq for KeyboardDragMode
impl StructuralPartialEq for KeyboardDragMode
Auto Trait Implementations§
impl Freeze for KeyboardDragMode
impl RefUnwindSafe for KeyboardDragMode
impl Send for KeyboardDragMode
impl Sync for KeyboardDragMode
impl Unpin for KeyboardDragMode
impl UnsafeUnpin for KeyboardDragMode
impl UnwindSafe for KeyboardDragMode
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.