pub enum GamepadButtonType {
Show 19 variants
South,
East,
North,
West,
C,
Z,
LeftTrigger,
LeftTrigger2,
RightTrigger,
RightTrigger2,
Select,
Start,
Mode,
LeftThumb,
RightThumb,
DPadUp,
DPadDown,
DPadLeft,
DPadRight,
}
Variants
South
East
North
West
C
Z
LeftTrigger
LeftTrigger2
RightTrigger
RightTrigger2
Select
Start
Mode
LeftThumb
RightThumb
DPadUp
DPadDown
DPadLeft
DPadRight
Trait Implementations
sourceimpl Clone for GamepadButtonType
impl Clone for GamepadButtonType
sourcefn clone(&self) -> GamepadButtonType
fn clone(&self) -> GamepadButtonType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GamepadButtonType
impl Debug for GamepadButtonType
sourceimpl<'de> Deserialize<'de> for GamepadButtonType
impl<'de> Deserialize<'de> for GamepadButtonType
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for GamepadButtonType
impl Display for GamepadButtonType
sourceimpl PartialEq<GamepadButtonType> for GamepadButtonType
impl PartialEq<GamepadButtonType> for GamepadButtonType
sourcefn eq(&self, other: &GamepadButtonType) -> bool
fn eq(&self, other: &GamepadButtonType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for GamepadButtonType
impl Serialize for GamepadButtonType
impl Copy for GamepadButtonType
impl Eq for GamepadButtonType
impl StructuralEq for GamepadButtonType
impl StructuralPartialEq for GamepadButtonType
Auto Trait Implementations
impl RefUnwindSafe for GamepadButtonType
impl Send for GamepadButtonType
impl Sync for GamepadButtonType
impl Unpin for GamepadButtonType
impl UnwindSafe for GamepadButtonType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more