pub enum KeyboardDragAction {
None,
PickUp,
Navigate(Direction),
Drop,
Cancel,
}Expand description
Action resulting from key handling.
Variants§
None
No action needed.
PickUp
Pick up the focused item to start a drag.
Navigate to next target in direction.
Drop
Drop on the selected target.
Cancel
Cancel the drag operation.
Trait Implementations§
Source§impl Clone for KeyboardDragAction
impl Clone for KeyboardDragAction
Source§fn clone(&self) -> KeyboardDragAction
fn clone(&self) -> KeyboardDragAction
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 KeyboardDragAction
impl Debug for KeyboardDragAction
Source§impl PartialEq for KeyboardDragAction
impl PartialEq for KeyboardDragAction
impl Copy for KeyboardDragAction
impl Eq for KeyboardDragAction
impl StructuralPartialEq for KeyboardDragAction
Auto Trait Implementations§
impl Freeze for KeyboardDragAction
impl RefUnwindSafe for KeyboardDragAction
impl Send for KeyboardDragAction
impl Sync for KeyboardDragAction
impl Unpin for KeyboardDragAction
impl UnsafeUnpin for KeyboardDragAction
impl UnwindSafe for KeyboardDragAction
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.