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
A
B
X
Y
DPadDown
DPadLeft
DPadRight
DPadUp
LeftShoulder
RightShoulder
LeftStick
RightStick
Back
Start
Guide
Trait Implementations
impl Eq for ControllerButton
[src]
impl Eq for ControllerButton
impl PartialEq for ControllerButton
[src]
impl PartialEq for ControllerButton
fn eq(&self, other: &ControllerButton) -> bool
[src]
fn eq(&self, other: &ControllerButton) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for ControllerButton
[src]
impl Debug for ControllerButton
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for ControllerButton
[src]
impl Copy for ControllerButton
impl Clone for ControllerButton
[src]
impl Clone for ControllerButton
fn clone(&self) -> ControllerButton
[src]
fn clone(&self) -> ControllerButton
Returns 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 ControllerButton
impl Sync for ControllerButton
impl Sync for ControllerButton