Enum ambient_shared_types::CursorIcon
source · pub enum CursorIcon {
Show 35 variants
Default,
Crosshair,
Hand,
Arrow,
Move,
Text,
Wait,
Help,
Progress,
NotAllowed,
ContextMenu,
Cell,
VerticalText,
Alias,
Copy,
NoDrop,
Grab,
Grabbing,
AllScroll,
ZoomIn,
ZoomOut,
EResize,
NResize,
NeResize,
NwResize,
SResize,
SeResize,
SwResize,
WResize,
EwResize,
NsResize,
NeswResize,
NwseResize,
ColResize,
RowResize,
}
Expand description
Describes the appearance of the mouse cursor.
Variants§
Default
The platform-dependent default cursor.
Crosshair
A simple crosshair.
Hand
A hand (often used to indicate links in web browsers).
Arrow
Self explanatory.
Move
Indicates something is to be moved.
Text
Indicates text that may be selected or edited.
Wait
Program busy indicator.
Help
Help indicator (often rendered as a “?”)
Progress
Progress indicator. Shows that processing is being done. But in contrast with “Wait” the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass.
NotAllowed
Cursor showing that something cannot be done.
ContextMenu
Cell
VerticalText
Alias
Copy
NoDrop
Grab
Indicates something can be grabbed.
Grabbing
Indicates something is grabbed.
AllScroll
ZoomIn
ZoomOut
EResize
Indicate that some edge is to be moved. For example, the ‘SeResize’ cursor is used when the movement starts from the south-east corner of the box.
NResize
NeResize
NwResize
SResize
SeResize
SwResize
WResize
EwResize
NsResize
NeswResize
NwseResize
ColResize
RowResize
Trait Implementations§
source§impl Clone for CursorIcon
impl Clone for CursorIcon
source§fn clone(&self) -> CursorIcon
fn clone(&self) -> CursorIcon
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CursorIcon
impl Debug for CursorIcon
source§impl Default for CursorIcon
impl Default for CursorIcon
source§fn default() -> CursorIcon
fn default() -> CursorIcon
source§impl<'de> Deserialize<'de> for CursorIcon
impl<'de> Deserialize<'de> for CursorIcon
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Display for CursorIcon
impl Display for CursorIcon
source§impl FromStr for CursorIcon
impl FromStr for CursorIcon
source§impl Hash for CursorIcon
impl Hash for CursorIcon
source§impl PartialEq for CursorIcon
impl PartialEq for CursorIcon
source§fn eq(&self, other: &CursorIcon) -> bool
fn eq(&self, other: &CursorIcon) -> bool
self
and other
values to be equal, and is used
by ==
.