#[repr(C)]pub enum StyleCursor {
Show 30 variants
Alias = 0,
AllScroll = 1,
Cell = 2,
ColResize = 3,
ContextMenu = 4,
Copy = 5,
Crosshair = 6,
Default = 7,
EResize = 8,
EwResize = 9,
Grab = 10,
Grabbing = 11,
Help = 12,
Move = 13,
NResize = 14,
NsResize = 15,
NeswResize = 16,
NwseResize = 17,
Pointer = 18,
Progress = 19,
RowResize = 20,
SResize = 21,
SeResize = 22,
Text = 23,
Unset = 24,
VerticalText = 25,
WResize = 26,
Wait = 27,
ZoomIn = 28,
ZoomOut = 29,
}Variants§
Alias = 0
alias
AllScroll = 1
all-scroll
Cell = 2
cell
ColResize = 3
col-resize
ContextMenu = 4
context-menu
Copy = 5
copy
Crosshair = 6
crosshair
Default = 7
default - note: called “arrow” in winit
EResize = 8
e-resize
EwResize = 9
ew-resize
Grab = 10
grab
Grabbing = 11
grabbing
Help = 12
help
Move = 13
move
NResize = 14
n-resize
NsResize = 15
ns-resize
NeswResize = 16
nesw-resize
NwseResize = 17
nwse-resize
Pointer = 18
pointer - note: called “hand” in winit
Progress = 19
progress
RowResize = 20
row-resize
SResize = 21
s-resize
SeResize = 22
se-resize
Text = 23
text
Unset = 24
unset
VerticalText = 25
vertical-text
WResize = 26
w-resize
Wait = 27
wait
ZoomIn = 28
zoom-in
ZoomOut = 29
zoom-out
Trait Implementations§
Source§impl Clone for StyleCursor
impl Clone for StyleCursor
Source§fn clone(&self) -> StyleCursor
fn clone(&self) -> StyleCursor
Returns a duplicate 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 StyleCursor
impl Debug for StyleCursor
Source§impl Default for StyleCursor
impl Default for StyleCursor
Source§fn default() -> StyleCursor
fn default() -> StyleCursor
Returns the “default value” for a type. Read more
Source§impl From<StyleCursor> for CssProperty
impl From<StyleCursor> for CssProperty
Source§fn from(e: StyleCursor) -> Self
fn from(e: StyleCursor) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleCursor
impl Hash for StyleCursor
Source§impl Ord for StyleCursor
impl Ord for StyleCursor
Source§fn cmp(&self, other: &StyleCursor) -> Ordering
fn cmp(&self, other: &StyleCursor) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StyleCursor
impl PartialEq for StyleCursor
Source§impl PartialOrd for StyleCursor
impl PartialOrd for StyleCursor
Source§impl PrintAsCssValue for StyleCursor
impl PrintAsCssValue for StyleCursor
fn print_as_css_value(&self) -> String
impl Copy for StyleCursor
impl Eq for StyleCursor
impl StructuralPartialEq for StyleCursor
Auto Trait Implementations§
impl Freeze for StyleCursor
impl RefUnwindSafe for StyleCursor
impl Send for StyleCursor
impl Sync for StyleCursor
impl Unpin for StyleCursor
impl UnwindSafe for StyleCursor
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