Enum sdl2_sys::SDL_SystemCursor
source · [−]#[repr(u32)]
pub enum SDL_SystemCursor {
Show 13 variants
SDL_SYSTEM_CURSOR_ARROW,
SDL_SYSTEM_CURSOR_IBEAM,
SDL_SYSTEM_CURSOR_WAIT,
SDL_SYSTEM_CURSOR_CROSSHAIR,
SDL_SYSTEM_CURSOR_WAITARROW,
SDL_SYSTEM_CURSOR_SIZENWSE,
SDL_SYSTEM_CURSOR_SIZENESW,
SDL_SYSTEM_CURSOR_SIZEWE,
SDL_SYSTEM_CURSOR_SIZENS,
SDL_SYSTEM_CURSOR_SIZEALL,
SDL_SYSTEM_CURSOR_NO,
SDL_SYSTEM_CURSOR_HAND,
SDL_NUM_SYSTEM_CURSORS,
}
Expand description
\brief Cursor types for SDL_CreateSystemCursor().
Variants
SDL_SYSTEM_CURSOR_ARROW
< Arrow
SDL_SYSTEM_CURSOR_IBEAM
< I-beam
SDL_SYSTEM_CURSOR_WAIT
< Wait
SDL_SYSTEM_CURSOR_CROSSHAIR
< Crosshair
SDL_SYSTEM_CURSOR_WAITARROW
< Small wait cursor (or Wait if not available)
SDL_SYSTEM_CURSOR_SIZENWSE
< Double arrow pointing northwest and southeast
SDL_SYSTEM_CURSOR_SIZENESW
< Double arrow pointing northeast and southwest
SDL_SYSTEM_CURSOR_SIZEWE
< Double arrow pointing west and east
SDL_SYSTEM_CURSOR_SIZENS
< Double arrow pointing north and south
SDL_SYSTEM_CURSOR_SIZEALL
< Four pointed arrow pointing north, south, east, and west
SDL_SYSTEM_CURSOR_NO
< Slashed circle or crossbones
SDL_SYSTEM_CURSOR_HAND
< Hand
SDL_NUM_SYSTEM_CURSORS
Trait Implementations
sourceimpl Clone for SDL_SystemCursor
impl Clone for SDL_SystemCursor
sourcefn clone(&self) -> SDL_SystemCursor
fn clone(&self) -> SDL_SystemCursor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SDL_SystemCursor
impl Debug for SDL_SystemCursor
sourceimpl Hash for SDL_SystemCursor
impl Hash for SDL_SystemCursor
sourceimpl PartialEq<SDL_SystemCursor> for SDL_SystemCursor
impl PartialEq<SDL_SystemCursor> for SDL_SystemCursor
impl Copy for SDL_SystemCursor
impl Eq for SDL_SystemCursor
impl StructuralEq for SDL_SystemCursor
impl StructuralPartialEq for SDL_SystemCursor
Auto Trait Implementations
impl RefUnwindSafe for SDL_SystemCursor
impl Send for SDL_SystemCursor
impl Sync for SDL_SystemCursor
impl Unpin for SDL_SystemCursor
impl UnwindSafe for SDL_SystemCursor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more