Enum iced_core::mouse::Interaction
source · pub enum Interaction {
Idle,
Pointer,
Grab,
Text,
Crosshair,
Working,
Grabbing,
ResizingHorizontally,
ResizingVertically,
NotAllowed,
ZoomIn,
}
Expand description
The interaction of a mouse cursor.
Variants§
Idle
Pointer
Grab
Text
Crosshair
Working
Grabbing
ResizingHorizontally
ResizingVertically
NotAllowed
ZoomIn
Trait Implementations§
source§impl Clone for Interaction
impl Clone for Interaction
source§fn clone(&self) -> Interaction
fn clone(&self) -> Interaction
Returns a copy 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§fn eq(&self, other: &Interaction) -> bool
fn eq(&self, other: &Interaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Interaction
impl PartialOrd for Interaction
source§fn partial_cmp(&self, other: &Interaction) -> Option<Ordering>
fn partial_cmp(&self, other: &Interaction) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Interaction
impl Eq for Interaction
impl StructuralPartialEq for Interaction
Auto Trait Implementations§
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