pub enum JoypadButton {
Show 16 variants
B,
Y,
Select,
Start,
Up,
Down,
Left,
Right,
A,
X,
L,
R,
L2,
R2,
L3,
R3,
}Variants§
Trait Implementations§
Source§impl Clone for JoypadButton
impl Clone for JoypadButton
Source§fn clone(&self) -> JoypadButton
fn clone(&self) -> JoypadButton
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JoypadButton
impl Debug for JoypadButton
Source§impl From<JoypadButton> for InputDescriptorId
impl From<JoypadButton> for InputDescriptorId
Source§fn from(button: JoypadButton) -> Self
fn from(button: JoypadButton) -> Self
Converts to this type from the input type.
Source§impl Hash for JoypadButton
impl Hash for JoypadButton
Source§impl PartialEq for JoypadButton
impl PartialEq for JoypadButton
Source§fn eq(&self, other: &JoypadButton) -> bool
fn eq(&self, other: &JoypadButton) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for JoypadButton
impl Eq for JoypadButton
impl StructuralPartialEq for JoypadButton
Auto Trait Implementations§
impl Freeze for JoypadButton
impl RefUnwindSafe for JoypadButton
impl Send for JoypadButton
impl Sync for JoypadButton
impl Unpin for JoypadButton
impl UnsafeUnpin for JoypadButton
impl UnwindSafe for JoypadButton
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