Enum raylib_ffi::enums::MouseCursor
source · #[repr(C)]
pub enum MouseCursor {
MOUSECURSORDEFAULT,
MOUSECURSORARROW,
MOUSECURSORIBEAM,
MOUSECURSORCROSSHAIR,
MOUSECURSORPOINTINGHAND,
MOUSECURSORRESIZEEW,
MOUSECURSORRESIZENS,
MOUSECURSORRESIZENWSE,
MOUSECURSORRESIZENESW,
MOUSECURSORRESIZEALL,
MOUSECURSORNOTALLOWED,
}Expand description
Mouse cursor
Variants§
MOUSECURSORDEFAULT
Default pointer shape
MOUSECURSORARROW
Arrow shape
MOUSECURSORIBEAM
Text writing cursor shape
MOUSECURSORCROSSHAIR
Cross shape
MOUSECURSORPOINTINGHAND
Pointing hand cursor
MOUSECURSORRESIZEEW
Horizontal resize/move arrow shape
MOUSECURSORRESIZENS
Vertical resize/move arrow shape
MOUSECURSORRESIZENWSE
Top-left to bottom-right diagonal resize/move arrow shape
MOUSECURSORRESIZENESW
The top-right to bottom-left diagonal resize/move arrow shape
MOUSECURSORRESIZEALL
The omnidirectional resize/move cursor shape
MOUSECURSORNOTALLOWED
The operation-not-allowed shape
Trait Implementations§
source§impl Clone for MouseCursor
impl Clone for MouseCursor
source§fn clone(&self) -> MouseCursor
fn clone(&self) -> MouseCursor
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 MouseCursor
impl Debug for MouseCursor
source§impl Hash for MouseCursor
impl Hash for MouseCursor
source§impl PartialEq<MouseCursor> for MouseCursor
impl PartialEq<MouseCursor> for MouseCursor
source§fn eq(&self, other: &MouseCursor) -> bool
fn eq(&self, other: &MouseCursor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.