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

Trait Implementations

impl Debug for SDL_Keymod
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_Keymod
[src]

impl Clone for SDL_Keymod
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for SDL_Keymod
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for SDL_Keymod
[src]

impl Hash for SDL_Keymod
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more