Enum rich_sdl2_rust::window::cursor::SystemCursorKind
source · #[non_exhaustive]pub enum SystemCursorKind {
Arrow,
IBeam,
Wait,
Crosshair,
WaitArrow,
SizeNwse,
SizeNesw,
SizeWe,
SizeNs,
SizeAll,
No,
Hand,
}
Expand description
A kind of the system cursor.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Arrow
The arrow cursor.
IBeam
The I beam cursor.
Wait
The waiting cursor.
Crosshair
The crosshair cursor.
WaitArrow
The waiting cursor with arrow.
SizeNwse
The resizing cursor between north west and south east.
SizeNesw
The resizing cursor between north east and south west.
SizeWe
The resizing cursor between east and west.
SizeNs
The resizing cursor between north and south.
SizeAll
The resizing cursor for all directions.
No
The prohibiting cursor.
Hand
The hand cursor.
Trait Implementations§
source§impl Clone for SystemCursorKind
impl Clone for SystemCursorKind
source§fn clone(&self) -> SystemCursorKind
fn clone(&self) -> SystemCursorKind
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 SystemCursorKind
impl Debug for SystemCursorKind
source§impl Hash for SystemCursorKind
impl Hash for SystemCursorKind
source§impl PartialEq for SystemCursorKind
impl PartialEq for SystemCursorKind
source§fn eq(&self, other: &SystemCursorKind) -> bool
fn eq(&self, other: &SystemCursorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SystemCursorKind
impl Eq for SystemCursorKind
impl StructuralPartialEq for SystemCursorKind
Auto Trait Implementations§
impl RefUnwindSafe for SystemCursorKind
impl Send for SystemCursorKind
impl Sync for SystemCursorKind
impl Unpin for SystemCursorKind
impl UnwindSafe for SystemCursorKind
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