Enum glfw::GamepadButton [−][src]
#[repr(i32)]
pub enum GamepadButton {
Show 15 variants
ButtonA,
ButtonB,
ButtonX,
ButtonY,
ButtonLeftBumper,
ButtonRightBumper,
ButtonBack,
ButtonStart,
ButtonGuide,
ButtonLeftThumb,
ButtonRightThumb,
ButtonDpadUp,
ButtonDpadRight,
ButtonDpadDown,
ButtonDpadLeft,
}
Expand description
Button identifier tokens.
Variants
ButtonA
ButtonB
ButtonX
ButtonY
ButtonLeftBumper
ButtonRightBumper
ButtonBack
ButtonStart
ButtonGuide
ButtonLeftThumb
ButtonRightThumb
ButtonDpadUp
ButtonDpadRight
ButtonDpadDown
ButtonDpadLeft
Implementations
Converts from i32
.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for GamepadButton
impl Send for GamepadButton
impl Sync for GamepadButton
impl Unpin for GamepadButton
impl UnwindSafe for GamepadButton
Blanket Implementations
Mutably borrows from an owned value. Read more