#[non_exhaustive]pub enum Cursor {
Show 37 variants
Alias,
AllScroll,
Auto,
Cell,
ColResize,
ContextMenu,
Copy,
Crosshair,
Default,
EResize,
EwResize,
Grab,
Grabbing,
Help,
Move,
NResize,
NeResize,
NeswResize,
NoDrop,
None,
NotAllowed,
NsResize,
NwResize,
NwseResize,
Pointer,
Progress,
RowResize,
SResize,
SeResize,
SwResize,
Text,
VerticalText,
WResize,
Wait,
ZoomIn,
ZoomOut,
Raw(Raw),
}Expand description
A value of cursor.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Alias
alias.
AllScroll
all-scroll.
Auto
auto.
Cell
cell.
ColResize
col-resize.
ContextMenu
context-menu.
Copy
copy.
Crosshair
crosshair.
Default
default.
EResize
e-resize.
EwResize
ew-resize.
Grab
grab.
Grabbing
grabbing.
Help
help.
Move
move.
NResize
n-resize.
NeResize
ne-resize.
NeswResize
nesw-resize.
NoDrop
no-drop.
None
none.
NotAllowed
not-allowed.
NsResize
ns-resize.
NwResize
nw-resize.
NwseResize
nwse-resize.
Pointer
pointer.
Progress
progress.
RowResize
row-resize.
SResize
s-resize.
SeResize
se-resize.
SwResize
sw-resize.
Text
text.
VerticalText
vertical-text.
WResize
w-resize.
Wait
wait.
ZoomIn
zoom-in.
ZoomOut
zoom-out.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
impl StructuralPartialEq for Cursor
Auto Trait Implementations§
impl Freeze for Cursor
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnsafeUnpin for Cursor
impl UnwindSafe for Cursor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more