#[repr(i32)]pub enum StandardCursor {
Arrow = 221_185,
IBeam = 221_186,
Crosshair = 221_187,
Hand = 221_188,
HResize = 221_189,
VResize = 221_190,
}
Expand description
Standard cursors provided by GLFW
Variants§
Arrow = 221_185
The regular arrow cursor shape.
IBeam = 221_186
The text input I-beam cursor shape.
Crosshair = 221_187
The crosshair shape.
Hand = 221_188
The hand shape.
HResize = 221_189
The horizontal resize arrow shape.
VResize = 221_190
The vertical resize arrow shape.
Trait Implementations§
Source§impl Clone for StandardCursor
impl Clone for StandardCursor
Source§fn clone(&self) -> StandardCursor
fn clone(&self) -> StandardCursor
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 StandardCursor
impl Debug for StandardCursor
Source§impl Hash for StandardCursor
impl Hash for StandardCursor
Source§impl Ord for StandardCursor
impl Ord for StandardCursor
Source§fn cmp(&self, other: &StandardCursor) -> Ordering
fn cmp(&self, other: &StandardCursor) -> 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 StandardCursor
impl PartialEq for StandardCursor
Source§impl PartialOrd for StandardCursor
impl PartialOrd for StandardCursor
impl Copy for StandardCursor
impl Eq for StandardCursor
impl StructuralPartialEq for StandardCursor
Auto Trait Implementations§
impl Freeze for StandardCursor
impl RefUnwindSafe for StandardCursor
impl Send for StandardCursor
impl Sync for StandardCursor
impl Unpin for StandardCursor
impl UnwindSafe for StandardCursor
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more