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’s 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 can’t be dropped here.
NotAllowed
An action isn’t 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§
source§impl Clone for MouseCursor
impl Clone for MouseCursor
source§fn clone(&self) -> MouseCursor
fn clone(&self) -> MouseCursor
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MouseCursor
impl Debug for MouseCursor
source§impl Default for MouseCursor
impl Default for MouseCursor
source§impl Display for MouseCursor
impl Display for MouseCursor
source§impl FromStr for MouseCursor
impl FromStr for MouseCursor
source§impl Hash for MouseCursor
impl Hash for MouseCursor
source§impl PartialEq<MouseCursor> for MouseCursor
impl PartialEq<MouseCursor> for MouseCursor
source§fn eq(&self, other: &MouseCursor) -> bool
fn eq(&self, other: &MouseCursor) -> bool
self and other values to be equal, and is used
by ==.