Enum i_slint_core::items::MouseCursor
source · [−]#[repr(C)]
pub enum MouseCursor {
Show 29 variants
Default,
None,
Help,
Pointer,
Progress,
Wait,
Crosshair,
Text,
Alias,
Copy,
Move,
NoDrop,
NotAllowed,
Grab,
Grabbing,
ColResize,
RowResize,
NResize,
EResize,
SResize,
WResize,
NeResize,
NwResize,
SeResize,
SwResize,
EwResize,
NsResize,
NeswResize,
NwseResize,
}Expand description
This enum represents different types of mouse cursors. It is a subset of the mouse cursors available in CSS. For details and pictograms see the MDN Documentation for cursor. Depending on the backend and used OS unidirectional resize cursors may be replaced with bidirectional ones.
Variants
Default
The systems default cursor.
None
No cursor is displayed.
Help
A cursor indicating help information.
Pointer
A pointing hand indicating a link.
Progress
The program is busy but can still be interacted with.
Wait
The program is busy.
Crosshair
A crosshair.
Text
A cursor indicating selectable text.
Alias
An alias or shortcut is being created.
Copy
A copy is being created.
Move
Something is to be moved.
NoDrop
Something cannot be dropped here.
NotAllowed
An action is not allowed
Grab
Something is grabbable.
Grabbing
Something is being grabbed.
ColResize
Indicating that a column is resizable horizontally.
RowResize
Indicating that a row is resizable vertically.
NResize
Unidirectional resize north.
EResize
Unidirectional resize east.
SResize
Unidirectional resize south.
WResize
Unidirectional resize west.
NeResize
Unidirectional resize north-east.
NwResize
Unidirectional resize north-west.
SeResize
Unidirectional resize south-east.
SwResize
Unidirectional resize south-west.
EwResize
Bidirectional resize east-west.
NsResize
Bidirectional resize north-south.
NeswResize
Bidirectional resize north-east-south-west.
NwseResize
Bidirectional resize north-west-south-east.
Trait Implementations
sourceimpl Clone for MouseCursor
impl Clone for MouseCursor
sourcefn clone(&self) -> MouseCursor
fn clone(&self) -> MouseCursor
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more