#[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,
}Expand description
Represents a cursor attribute, defining the mouse cursor to be displayed
when pointing over an element.
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
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 FormatAsRustCode for StyleCursor
impl FormatAsRustCode for StyleCursor
fn format_as_rust_code(&self, _tabs: usize) -> String
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