pub enum CursorIcon {
Default,
Pointer,
Text,
Crosshair,
Move,
NotAllowed,
EwResize,
NsResize,
Grab,
Grabbing,
}Expand description
Cursor icon hint unified across desktop and iPadOS pointer platforms.
Variants§
Default
Standard platform arrow cursor.
Pointer
Interactive hand pointer.
Text
Text selection I-beam.
Crosshair
Crosshair precision cursor.
Move
Move / drag cursor.
NotAllowed
Forbidden / disabled cursor.
EwResize
Horizontal resize cursor.
NsResize
Vertical resize cursor.
Grab
Grab hand cursor.
Grabbing
Active grabbing hand cursor.
Trait Implementations§
Source§impl Clone for CursorIcon
impl Clone for CursorIcon
impl Copy for CursorIcon
Source§impl Debug for CursorIcon
impl Debug for CursorIcon
Source§impl Default for CursorIcon
impl Default for CursorIcon
impl Eq for CursorIcon
Source§impl Hash for CursorIcon
impl Hash for CursorIcon
Source§impl Ord for CursorIcon
impl Ord for CursorIcon
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CursorIcon
impl PartialEq for CursorIcon
Source§impl PartialOrd for CursorIcon
impl PartialOrd for CursorIcon
impl StructuralPartialEq for CursorIcon
Auto Trait Implementations§
impl Forget for CursorIcon
impl Freeze for CursorIcon
impl Move for CursorIcon
impl RefUnwindSafe for CursorIcon
impl Send for CursorIcon
impl Sync for CursorIcon
impl Unpin for CursorIcon
impl UnsafeUnpin for CursorIcon
impl UnwindSafe for CursorIcon
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