pub enum Cursor {
Show 36 variants
Auto,
Default,
Pointer,
Wait,
Text,
Move,
Help,
NotAllowed,
None,
ContextMenu,
Progress,
Cell,
Crosshair,
VerticalText,
Alias,
Copy,
NoDrop,
Grab,
Grabbing,
AllScroll,
ColResize,
RowResize,
NResize,
EResize,
SResize,
WResize,
NeResize,
NwResize,
SeResize,
SwResize,
EwResize,
NsResize,
NeswResize,
NwseResize,
ZoomIn,
ZoomOut,
}
Expand description
Cursor values
Variants§
Auto
Auto cursor
Default
Default cursor
Pointer
Pointer cursor
Wait
Wait cursor
Text
Text cursor
Move
Move cursor
Help
Help cursor
NotAllowed
Not allowed cursor
None
None cursor
ContextMenu
Context menu cursor
Progress
Progress cursor
Cell
Cell cursor
Crosshair
Crosshair cursor
VerticalText
Vertical text cursor
Alias
Alias cursor
Copy
Copy cursor
NoDrop
No drop cursor
Grab
Grab cursor
Grabbing
Grabbing cursor
AllScroll
All scroll cursor
ColResize
Col resize cursor
RowResize
Row resize cursor
NResize
N resize cursor
EResize
E resize cursor
SResize
S resize cursor
WResize
W resize cursor
NeResize
Ne resize cursor
NwResize
Nw resize cursor
SeResize
Se resize cursor
SwResize
Sw resize cursor
EwResize
Ew resize cursor
NsResize
Ns resize cursor
NeswResize
Nesw resize cursor
NwseResize
Nwse resize cursor
ZoomIn
Zoom in cursor
ZoomOut
Zoom out cursor
Implementations§
Source§impl Cursor
impl Cursor
pub fn to_class_name(&self) -> String
pub fn to_css_value(&self) -> String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cursor
impl<'de> Deserialize<'de> for Cursor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Cursor
impl Eq for Cursor
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.