Enum glfw::StandardCursor
source · #[repr(i32)]
pub enum StandardCursor {
Arrow,
IBeam,
Crosshair,
Hand,
HResize,
VResize,
}
Expand description
Standard cursors provided by GLFW
Variants§
Arrow
The regular arrow cursor shape.
IBeam
The text input I-beam cursor shape.
Crosshair
The crosshair shape.
Hand
The hand shape.
HResize
The horizontal resize arrow shape.
VResize
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<StandardCursor> for StandardCursor
impl PartialEq<StandardCursor> 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<StandardCursor> for StandardCursor
impl PartialOrd<StandardCursor> 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 more