[−][src]Enum quicksilver::input::GamepadButton
A button on a gamepad
Variants
The bottom face button
This would be X on a Playstation controller, or A on an XBOX controller
The right face button
This would be O on a Playstation controller, or B on an XBOX controller
The left face button
This would be Square on a Playstation controller, or X on an XBOX controller
The top face button
This would be Triangle on a Playstation controller, or Y on an XBOX controller
The shoulder button on the left of the controller
The shoulder button on the right of the controller
The trigger button on the left of the controller
The trigger button on the right of the controller
The left-most of the center buttons
The right-most of the center buttons
The button press that pushing in the left stick causes
The button press that pushing in the right stick causes
The up button on the dpad
The down button on the dpad
The left button on the dpad
The right button on the dpad
The middle of the center buttons
Trait Implementations
impl Clone for GamepadButton
[src]
fn clone(&self) -> GamepadButton
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GamepadButton
[src]
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]
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
impl Unpin for GamepadButton
impl UnwindSafe for GamepadButton
impl RefUnwindSafe for GamepadButton
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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> 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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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>,
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> CollisionObjectHandle for T where
T: 'static + Send + Copy + Sync + PartialEq<T> + Eq + Hash,
[src]
T: 'static + Send + Copy + Sync + PartialEq<T> + Eq + Hash,
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<T> Slottable for T where
T: Copy,
[src]
T: Copy,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,