Enum sdl2_sys::SDL_Keymod
[−]
[src]
#[repr(u32)]pub enum SDL_Keymod { KMOD_NONE, KMOD_LSHIFT, KMOD_RSHIFT, KMOD_LCTRL, KMOD_RCTRL, KMOD_LALT, KMOD_RALT, KMOD_LGUI, KMOD_RGUI, KMOD_NUM, KMOD_CAPS, KMOD_MODE, KMOD_RESERVED, }
\brief Enumeration of valid key mods (possibly OR'd together).
Variants
KMOD_NONE
KMOD_LSHIFT
KMOD_RSHIFT
KMOD_LCTRL
KMOD_RCTRL
KMOD_LALT
KMOD_RALT
KMOD_LGUI
KMOD_RGUI
KMOD_NUM
KMOD_CAPS
KMOD_MODE
KMOD_RESERVED
Trait Implementations
impl Debug for SDL_Keymod
[src]
impl Copy for SDL_Keymod
[src]
impl Clone for SDL_Keymod
[src]
fn clone(&self) -> SDL_Keymod
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for SDL_Keymod
[src]
fn eq(&self, __arg_0: &SDL_Keymod) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.