Enum glfw::GamepadButton [−][src]
#[repr(i32)] pub enum GamepadButton {}Show variants
ButtonA, ButtonB, ButtonX, ButtonY, ButtonLeftBumper, ButtonRightBumper, ButtonBack, ButtonStart, ButtonGuide, ButtonLeftThumb, ButtonRightThumb, ButtonDpadUp, ButtonDpadRight, ButtonDpadDown, ButtonDpadLeft,
Button identifier tokens.
Variants
Implementations
impl GamepadButton
[src]
impl GamepadButton
[src]pub fn from_i32(n: i32) -> Option<GamepadButton>
[src]
Converts from i32
.
Trait Implementations
impl Clone for GamepadButton
[src]
impl Clone for GamepadButton
[src]fn clone(&self) -> GamepadButton
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Hash for GamepadButton
[src]
impl Hash for GamepadButton
[src]impl Ord for GamepadButton
[src]
impl Ord for GamepadButton
[src]impl PartialEq<GamepadButton> for GamepadButton
[src]
impl PartialEq<GamepadButton> for GamepadButton
[src]impl PartialOrd<GamepadButton> for GamepadButton
[src]
impl PartialOrd<GamepadButton> for GamepadButton
[src]fn partial_cmp(&self, other: &GamepadButton) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> bool