Enum amethyst_input::ControllerButton[][src]

pub enum ControllerButton {
    A,
    B,
    X,
    Y,
    DPadDown,
    DPadLeft,
    DPadRight,
    DPadUp,
    LeftShoulder,
    RightShoulder,
    LeftStick,
    RightStick,
    Back,
    Start,
    Guide,
}

Controller buttons matching SDL controller model

Variants

Trait Implementations

impl Eq for ControllerButton
[src]

impl PartialEq for ControllerButton
[src]

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

This method tests for !=.

impl Debug for ControllerButton
[src]

Formats the value using the given formatter. Read more

impl Copy for ControllerButton
[src]

impl Clone for ControllerButton
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations