pub enum StyleCursor {
Show 30 variants
Alias,
AllScroll,
Cell,
ColResize,
ContextMenu,
Copy,
Crosshair,
Default,
EResize,
EwResize,
Grab,
Grabbing,
Help,
Move,
NResize,
NsResize,
NeswResize,
NwseResize,
Pointer,
Progress,
RowResize,
SResize,
SeResize,
Text,
Unset,
VerticalText,
WResize,
Wait,
ZoomIn,
ZoomOut,
}
Variants§
Alias
alias
AllScroll
all-scroll
Cell
cell
ColResize
col-resize
ContextMenu
context-menu
Copy
copy
Crosshair
crosshair
Default
default
- note: called “arrow” in winit
EResize
e-resize
EwResize
ew-resize
Grab
grab
Grabbing
grabbing
Help
help
Move
move
NResize
n-resize
NsResize
ns-resize
NeswResize
nesw-resize
NwseResize
nwse-resize
Pointer
pointer
- note: called “hand” in winit
Progress
progress
RowResize
row-resize
SResize
s-resize
SeResize
se-resize
Text
text
Unset
unset
VerticalText
vertical-text
WResize
w-resize
Wait
wait
ZoomIn
zoom-in
ZoomOut
zoom-out
Trait Implementations§
Source§impl Clone for StyleCursor
impl Clone for StyleCursor
Source§fn clone(&self) -> StyleCursor
fn clone(&self) -> StyleCursor
Returns a copy 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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)