Enum sdl2::mouse::SystemCursor
source · #[repr(u32)]pub enum SystemCursor {
Arrow = 0,
IBeam = 1,
Wait = 2,
Crosshair = 3,
WaitArrow = 4,
SizeNWSE = 5,
SizeNESW = 6,
SizeWE = 7,
SizeNS = 8,
SizeAll = 9,
No = 10,
Hand = 11,
}
Variants§
Arrow = 0
IBeam = 1
Wait = 2
Crosshair = 3
WaitArrow = 4
SizeNWSE = 5
SizeNESW = 6
SizeWE = 7
SizeNS = 8
SizeAll = 9
No = 10
Hand = 11
Trait Implementations§
source§impl Clone for SystemCursor
impl Clone for SystemCursor
source§fn clone(&self) -> SystemCursor
fn clone(&self) -> SystemCursor
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 SystemCursor
impl Debug for SystemCursor
source§impl Hash for SystemCursor
impl Hash for SystemCursor
source§impl PartialEq for SystemCursor
impl PartialEq for SystemCursor
source§fn eq(&self, other: &SystemCursor) -> bool
fn eq(&self, other: &SystemCursor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SystemCursor
impl Eq for SystemCursor
impl StructuralEq for SystemCursor
impl StructuralPartialEq for SystemCursor
Auto Trait Implementations§
impl RefUnwindSafe for SystemCursor
impl Send for SystemCursor
impl Sync for SystemCursor
impl Unpin for SystemCursor
impl UnwindSafe for SystemCursor
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