pub enum CursorType {
Show 30 variants
Default,
ContextMenu,
Help,
Pointer,
Cell,
Crosshair,
Text,
VerticalText,
Alias,
Copy,
Move,
NotAllowed,
Grab,
Grabbing,
ColResize,
RowResize,
NResize,
EResize,
SResize,
WResize,
NEResize,
NWResize,
SEResize,
SWResize,
EWResize,
NSResize,
NESWResize,
NWSEResize,
ZoomIn,
ZoomOut,
}Expand description
Visual representation of a cursor.
Refer to the table at https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#values
Variants§
Default
ContextMenu
Help
Pointer
Cell
Crosshair
Text
VerticalText
Alias
Copy
Move
NotAllowed
Grab
Grabbing
ColResize
RowResize
NResize
EResize
SResize
WResize
NEResize
NWResize
SEResize
SWResize
EWResize
NSResize
NESWResize
NWSEResize
ZoomIn
ZoomOut
Trait Implementations§
Source§impl Clone for CursorType
impl Clone for CursorType
Source§fn clone(&self) -> CursorType
fn clone(&self) -> CursorType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CursorType
Source§impl Debug for CursorType
impl Debug for CursorType
Source§impl Default for CursorType
impl Default for CursorType
Source§fn default() -> CursorType
fn default() -> CursorType
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CursorType
impl RefUnwindSafe for CursorType
impl Send for CursorType
impl Sync for CursorType
impl Unpin for CursorType
impl UnsafeUnpin for CursorType
impl UnwindSafe for CursorType
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