Enum egui::output::CursorIcon [−][src]
pub enum CursorIcon {
Show 25 variants
Default,
None,
ContextMenu,
Help,
PointingHand,
Progress,
Wait,
Cell,
Crosshair,
Text,
VerticalText,
Alias,
Copy,
Move,
NoDrop,
NotAllowed,
Grab,
Grabbing,
AllScroll,
ResizeHorizontal,
ResizeNeSw,
ResizeNwSe,
ResizeVertical,
ZoomIn,
ZoomOut,
}
Expand description
A mouse cursor icon.
egui emits a CursorIcon
in Output
each frame as a request to the integration.
Loosely based on https://developer.mozilla.org/en-US/docs/Web/CSS/cursor.
Variants
Normal cursor icon, whatever that is.
Show no cursor
A context menu is available
Question mark
Pointing hand, used for e.g. web links
Shows that processing is being done, but that the program is still interactive.
Not yet ready, try later.
Hover a cell in a table
For precision work
Text caret, e.g. “Click here to edit text”
Vertical text caret, e.g. “Click here to edit vertical text”
Indicated an alias, e.g. a shortcut
Indicate that a copy will be made
Omnidirectional move icon (e.g. arrows in all cardinal directions)
Can’t drop here
Forbidden
The thing you are hovering can be grabbed
You are grabbing the thing you are hovering
Something can be scrolled in any direction (panned).
Horizontal resize -
to make something wider or more narrow (left to/from right)
Diagonal resize /
(right-up to/from left-down)
Diagonal resize \
(left-up to/from right-down)
Vertical resize |
(up-down or down-up)
Enhance!
Let’s get a better overview
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CursorIcon
impl Send for CursorIcon
impl Sync for CursorIcon
impl Unpin for CursorIcon
impl UnwindSafe for CursorIcon
Blanket Implementations
Mutably borrows from an owned value. Read more