Enum winit::MouseCursor [−][src]
pub enum MouseCursor {
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,
}Describes the appearance of the mouse cursor.
Variants
DefaultThe platform-dependent default cursor.
CrosshairA simple crosshair.
HandA hand (often used to indicate links in web browsers).
ArrowSelf explanatory.
MoveIndicates something is to be moved.
TextIndicates text that may be selected or edited.
WaitProgram busy indicator.
HelpHelp indicator (often rendered as a "?")
ProgressProgress 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.
NotAllowedCursor showing that something cannot be done.
ContextMenuCellVerticalTextAliasCopyNoDropGrabGrabbingAllScrollZoomInZoomOutEResizeIndicate 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.
NResizeNeResizeNwResizeSResizeSeResizeSwResizeWResizeEwResizeNsResizeNeswResizeNwseResizeColResizeRowResizeTrait Implementations
impl Debug for MouseCursor[src]
impl Debug for MouseCursorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for MouseCursor[src]
impl Copy for MouseCursorimpl Clone for MouseCursor[src]
impl Clone for MouseCursorfn clone(&self) -> MouseCursor[src]
fn clone(&self) -> MouseCursorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl PartialEq for MouseCursor[src]
impl PartialEq for MouseCursorfn eq(&self, other: &MouseCursor) -> bool[src]
fn eq(&self, other: &MouseCursor) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Default for MouseCursor[src]
impl Default for MouseCursorAuto Trait Implementations
impl Send for MouseCursor
impl Send for MouseCursorimpl Sync for MouseCursor
impl Sync for MouseCursor