Enum glutin::MouseCursor
source · pub enum MouseCursor {
Show 36 variants
Default,
Crosshair,
Hand,
Arrow,
Move,
Text,
Wait,
Help,
Progress,
NotAllowed,
ContextMenu,
NoneCursor,
Cell,
VerticalText,
Alias,
Copy,
NoDrop,
Grab,
Grabbing,
AllScroll,
ZoomIn,
ZoomOut,
EResize,
NResize,
NeResize,
NwResize,
SResize,
SeResize,
SwResize,
WResize,
EwResize,
NsResize,
NeswResize,
NwseResize,
ColResize,
RowResize,
}
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
NoneCursor
Cell
VerticalText
Alias
Copy
NoDrop
Grab
Grabbing
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 MouseCursor
impl Clone for MouseCursor
source§fn clone(&self) -> MouseCursor
fn clone(&self) -> MouseCursor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MouseCursor
impl Debug 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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MouseCursor
impl StructuralPartialEq for MouseCursor
Auto Trait Implementations§
impl RefUnwindSafe for MouseCursor
impl Send for MouseCursor
impl Sync for MouseCursor
impl Unpin for MouseCursor
impl UnwindSafe for MouseCursor
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