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§
Source§impl Clone for GamepadButtonType
impl Clone for GamepadButtonType
Source§fn clone(&self) -> GamepadButtonType
fn clone(&self) -> GamepadButtonType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GamepadButtonType
impl Debug for GamepadButtonType
Source§impl<'de> Deserialize<'de> for GamepadButtonType
impl<'de> Deserialize<'de> for GamepadButtonType
Source§fn 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
Source§impl Display for GamepadButtonType
impl Display for GamepadButtonType
Source§impl PartialEq for GamepadButtonType
impl PartialEq for GamepadButtonType
Source§impl Serialize for GamepadButtonType
impl Serialize for GamepadButtonType
impl Copy for GamepadButtonType
impl Eq for GamepadButtonType
impl StructuralPartialEq for GamepadButtonType
Auto Trait Implementations§
impl Freeze for GamepadButtonType
impl RefUnwindSafe for GamepadButtonType
impl Send for GamepadButtonType
impl Sync for GamepadButtonType
impl Unpin for GamepadButtonType
impl UnwindSafe for GamepadButtonType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more