pub enum JoypadButton {
Show 16 variants
A,
B,
X,
Y,
Select,
Start,
Up,
Down,
Left,
Right,
L1,
L2,
L3,
R1,
R2,
R3,
}
Variants§
Trait Implementations§
Source§impl Clone for JoypadButton
impl Clone for JoypadButton
Source§fn clone(&self) -> JoypadButton
fn clone(&self) -> JoypadButton
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 JoypadButton
impl Debug for JoypadButton
Source§impl Hash for JoypadButton
impl Hash for JoypadButton
Source§impl Ord for JoypadButton
impl Ord for JoypadButton
Source§fn cmp(&self, other: &JoypadButton) -> Ordering
fn cmp(&self, other: &JoypadButton) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for JoypadButton
impl PartialEq for JoypadButton
Source§impl PartialOrd for JoypadButton
impl PartialOrd for JoypadButton
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 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