[−][src]Enum quicksilver::prelude::GamepadButton
A button on a gamepad
Variants
FaceDown
The bottom face button
This would be X on a Playstation controller, or A on an XBOX controller
FaceRight
The right face button
This would be O on a Playstation controller, or B on an XBOX controller
FaceLeft
The left face button
This would be Square on a Playstation controller, or X on an XBOX controller
FaceUp
The top face button
This would be Triangle on a Playstation controller, or Y on an XBOX controller
ShoulderLeft
The shoulder button on the left of the controller
ShoulderRight
The shoulder button on the right of the controller
TriggerLeft
The trigger button on the left of the controller
TriggerRight
The trigger button on the right of the controller
Select
The left-most of the center buttons
Start
The right-most of the center buttons
StickButtonLeft
The button press that pushing in the left stick causes
StickButtonRight
The button press that pushing in the right stick causes
DpadUp
The up button on the dpad
DpadDown
The down button on the dpad
DpadLeft
The left button on the dpad
DpadRight
The right button on the dpad
Home
The middle of the center buttons
Trait Implementations
impl Eq for GamepadButton
[src]
impl PartialEq<GamepadButton> for GamepadButton
[src]
fn eq(&self, other: &GamepadButton) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Copy for GamepadButton
[src]
impl Clone for GamepadButton
[src]
fn clone(&self) -> GamepadButton
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for GamepadButton
[src]
impl Index<GamepadButton> for Gamepad
[src]
type Output = ButtonState
The returned type after indexing.
fn index(&self, index: GamepadButton) -> &ButtonState
[src]
impl Hash for GamepadButton
[src]
Auto Trait Implementations
impl Send for GamepadButton
impl Sync for GamepadButton
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> Erased for T
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
[src]
T: Copy + PartialEq<T> + Any + Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
[src]
fn is_in_subset(&self) -> bool
[src]
unsafe fn to_subset_unchecked(&self) -> SS
[src]
fn from_subset(element: &SS) -> SP
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,