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
ABXYDPadDownDPadLeftDPadRightDPadUpLeftShoulderRightShoulderLeftStickRightStickBackStartGuide
Trait Implementations
impl Eq for ControllerButton[src]
impl Eq for ControllerButtonimpl PartialEq for ControllerButton[src]
impl PartialEq for ControllerButtonfn eq(&self, other: &ControllerButton) -> bool[src]
fn eq(&self, other: &ControllerButton) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Debug for ControllerButton[src]
impl Debug for ControllerButtonfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for ControllerButton[src]
impl Copy for ControllerButtonimpl Clone for ControllerButton[src]
impl Clone for ControllerButtonfn clone(&self) -> ControllerButton[src]
fn clone(&self) -> ControllerButtonReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for ControllerButton
impl Send for ControllerButtonimpl Sync for ControllerButton
impl Sync for ControllerButton