Enum glfw::StandardCursor
source · #[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§fn eq(&self, other: &StandardCursor) -> bool
fn eq(&self, other: &StandardCursor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StandardCursor
impl PartialOrd for StandardCursor
source§fn partial_cmp(&self, other: &StandardCursor) -> Option<Ordering>
fn partial_cmp(&self, other: &StandardCursor) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for StandardCursor
impl Eq for StandardCursor
impl StructuralPartialEq for StandardCursor
Auto Trait Implementations§
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