Enum rust_raylib::ffi::MouseCursor
source · #[repr(C)]pub enum MouseCursor {
Default,
Arrow,
Ibeam,
Crosshair,
PointingHand,
ResizeEw,
ResizeNs,
ResizeNwse,
ResizeNesw,
ResizeAll,
NotAllowed,
}Expand description
Mouse cursor
Variants§
Default
Default pointer shape
Arrow
Arrow shape
Ibeam
Text writing cursor shape
Crosshair
Cross shape
PointingHand
Pointing hand cursor
ResizeEw
Horizontal resize/move arrow shape
ResizeNs
Vertical resize/move arrow shape
ResizeNwse
Top-left to bottom-right diagonal resize/move arrow shape
ResizeNesw
The top-right to bottom-left diagonal resize/move arrow shape
ResizeAll
The omnidirectional resize/move cursor shape
NotAllowed
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 ==.impl Copy for MouseCursor
impl Eq for MouseCursor
impl StructuralEq for MouseCursor
impl StructuralPartialEq for MouseCursor
Auto Trait Implementations§
impl RefUnwindSafe for MouseCursor
impl Send for MouseCursor
impl Sync for MouseCursor
impl Unpin for MouseCursor
impl UnwindSafe for MouseCursor
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