Enum sdl2_sys::SDL_GameControllerButton [−][src]
#[repr(i32)] pub enum SDL_GameControllerButton {}Show variants
SDL_CONTROLLER_BUTTON_INVALID, SDL_CONTROLLER_BUTTON_A, SDL_CONTROLLER_BUTTON_B, SDL_CONTROLLER_BUTTON_X, SDL_CONTROLLER_BUTTON_Y, SDL_CONTROLLER_BUTTON_BACK, SDL_CONTROLLER_BUTTON_GUIDE, SDL_CONTROLLER_BUTTON_START, SDL_CONTROLLER_BUTTON_LEFTSTICK, SDL_CONTROLLER_BUTTON_RIGHTSTICK, SDL_CONTROLLER_BUTTON_LEFTSHOULDER, SDL_CONTROLLER_BUTTON_RIGHTSHOULDER, SDL_CONTROLLER_BUTTON_DPAD_UP, SDL_CONTROLLER_BUTTON_DPAD_DOWN, SDL_CONTROLLER_BUTTON_DPAD_LEFT, SDL_CONTROLLER_BUTTON_DPAD_RIGHT, SDL_CONTROLLER_BUTTON_MAX,
The list of buttons available from a controller
Variants
Trait Implementations
impl Clone for SDL_GameControllerButton
[src]
impl Clone for SDL_GameControllerButton
[src]fn clone(&self) -> SDL_GameControllerButton
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SDL_GameControllerButton
[src]
impl Copy for SDL_GameControllerButton
[src]impl Eq for SDL_GameControllerButton
[src]
impl Eq for SDL_GameControllerButton
[src]impl Hash for SDL_GameControllerButton
[src]
impl Hash for SDL_GameControllerButton
[src]impl PartialEq<SDL_GameControllerButton> for SDL_GameControllerButton
[src]
impl PartialEq<SDL_GameControllerButton> for SDL_GameControllerButton
[src]fn eq(&self, other: &SDL_GameControllerButton) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolAuto Trait Implementations
impl Send for SDL_GameControllerButton
impl Send for SDL_GameControllerButton
impl Sync for SDL_GameControllerButton
impl Sync for SDL_GameControllerButton
impl Unpin for SDL_GameControllerButton
impl Unpin for SDL_GameControllerButton