pub enum Interaction {
Show 27 variants
None,
Hidden,
Idle,
ContextMenu,
Help,
Pointer,
Progress,
Wait,
Cell,
Crosshair,
Text,
Alias,
Copy,
Move,
NoDrop,
NotAllowed,
Grab,
Grabbing,
ResizingHorizontally,
ResizingVertically,
ResizingDiagonallyUp,
ResizingDiagonallyDown,
ResizingColumn,
ResizingRow,
AllScroll,
ZoomIn,
ZoomOut,
}Expand description
The interaction of a mouse cursor.
Variants§
None
Hidden
Idle
ContextMenu
Help
Pointer
Progress
Wait
Cell
Crosshair
Text
Alias
Copy
Move
NoDrop
NotAllowed
Grab
Grabbing
ResizingHorizontally
ResizingVertically
ResizingDiagonallyUp
ResizingDiagonallyDown
ResizingColumn
ResizingRow
AllScroll
ZoomIn
ZoomOut
Trait Implementations§
Source§impl Clone for Interaction
impl Clone for Interaction
Source§fn clone(&self) -> Interaction
fn clone(&self) -> Interaction
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 Interaction
impl Debug for Interaction
Source§impl Default for Interaction
impl Default for Interaction
Source§fn default() -> Interaction
fn default() -> Interaction
Returns the “default value” for a type. Read more
Source§impl Ord for Interaction
impl Ord for Interaction
Source§fn cmp(&self, other: &Interaction) -> Ordering
fn cmp(&self, other: &Interaction) -> 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 Interaction
impl PartialEq for Interaction
Source§impl PartialOrd for Interaction
impl PartialOrd for Interaction
impl Copy for Interaction
impl Eq for Interaction
impl StructuralPartialEq for Interaction
Auto Trait Implementations§
impl Freeze for Interaction
impl RefUnwindSafe for Interaction
impl Send for Interaction
impl Sync for Interaction
impl Unpin for Interaction
impl UnwindSafe for Interaction
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