pub enum Cursor {
Show 25 variants
Auto,
Pointer,
Text,
Crosshair,
Move,
NotAllowed,
NoDrop,
Grab,
Grabbing,
AllScroll,
ColResize,
RowResize,
NResize,
EResize,
SResize,
WResize,
NeResize,
NwResize,
SeResize,
SwResize,
EwResize,
NsResize,
NeswResize,
ZoomIn,
ZoomOut,
}Expand description
Mouse cursor style.
Defines the appearance of the mouse cursor when hovering over an element.
Variants§
Auto
Default cursor (usually an arrow). This is the default.
Pointer
Pointing hand cursor (typically for links).
Text
Text selection cursor (I-beam).
Crosshair
Crosshair cursor.
Move
Move cursor (four-directional arrows).
NotAllowed
Not-allowed cursor (circle with a line through it).
NoDrop
No-drop cursor (hand with a no symbol).
Grab
Grab cursor (open hand).
Grabbing
Grabbing cursor (closed hand).
AllScroll
All-scroll cursor (arrows in all directions).
ColResize
Column resize cursor (horizontal arrows).
RowResize
Row resize cursor (vertical arrows).
NResize
North resize cursor.
EResize
East resize cursor.
SResize
South resize cursor.
WResize
West resize cursor.
NeResize
Northeast resize cursor.
NwResize
Northwest resize cursor.
SeResize
Southeast resize cursor.
SwResize
Southwest resize cursor.
EwResize
East-west resize cursor.
NsResize
North-south resize cursor.
NeswResize
Northeast-southwest resize cursor.
ZoomIn
Zoom in cursor (magnifying glass with +).
ZoomOut
Zoom out cursor (magnifying glass with -).
Trait Implementations§
Source§impl Arbitrary for Cursor
impl Arbitrary for Cursor
Source§type Parameters = ()
type Parameters = ()
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = BoxedStrategy<Cursor>
type Strategy = BoxedStrategy<Cursor>
Strategy used to generate values of type Self.