pub enum Cursor {
Show 15 variants
Default,
Pointer,
Text,
Crosshair,
Move,
NotAllowed,
ResizeNS,
ResizeEW,
ResizeNESW,
ResizeNWSE,
Grab,
Grabbing,
Wait,
Progress,
None,
}Expand description
Cursor icons
Variants§
Default
Default arrow cursor
Pointer
Pointer/hand cursor (for clickable elements)
Text
Text/I-beam cursor (for text input)
Crosshair
Crosshair cursor
Move
Move cursor (for dragging)
NotAllowed
Not allowed cursor
ResizeNS
North-South resize cursor
ResizeEW
East-West resize cursor
ResizeNESW
Northeast-Southwest resize cursor
ResizeNWSE
Northwest-Southeast resize cursor
Grab
Grab cursor (open hand)
Grabbing
Grabbing cursor (closed hand)
Wait
Wait/loading cursor
Progress
Progress cursor (arrow with spinner)
None
Hidden cursor
Trait Implementations§
impl Copy for Cursor
impl Eq for Cursor
impl StructuralPartialEq for Cursor
Auto Trait Implementations§
impl Freeze for Cursor
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnwindSafe for Cursor
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