Enum hid_gamepad_sys::JoyKey
pub enum JoyKey {
Show 20 variants
Up,
Down,
Left,
Right,
N,
S,
E,
W,
L,
R,
ZL,
ZR,
SL,
SR,
L3,
R3,
Minus,
Plus,
Capture,
Home,
}
Variants§
Trait Implementations§
§impl Enum for JoyKey
impl Enum for JoyKey
§fn from_usize(value: usize) -> JoyKey
fn from_usize(value: usize) -> JoyKey
Takes an usize, and returns an element matching
into_usize
function.§fn into_usize(self) -> usize
fn into_usize(self) -> usize
Returns an unique identifier for a value within range of
0..Array::LENGTH
.impl Copy for JoyKey
impl Eq for JoyKey
impl StructuralPartialEq for JoyKey
Auto Trait Implementations§
impl Freeze for JoyKey
impl RefUnwindSafe for JoyKey
impl Send for JoyKey
impl Sync for JoyKey
impl Unpin for JoyKey
impl UnwindSafe for JoyKey
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