Struct libnoentiendo::platform::JoystickState  
source · pub struct JoystickState {
    pub up: bool,
    pub down: bool,
    pub left: bool,
    pub right: bool,
    pub fire: bool,
}Expand description
Represents the current state of the connected joystick.
Fields§
§up: bool§down: bool§left: bool§right: bool§fire: boolImplementations§
source§impl JoystickState
 
impl JoystickState
Trait Implementations§
source§impl Clone for JoystickState
 
impl Clone for JoystickState
source§fn clone(&self) -> JoystickState
 
fn clone(&self) -> JoystickState
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 JoystickState
 
impl Debug for JoystickState
source§impl PartialEq for JoystickState
 
impl PartialEq for JoystickState
source§fn eq(&self, other: &JoystickState) -> bool
 
fn eq(&self, other: &JoystickState) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for JoystickState
impl StructuralPartialEq for JoystickState
Auto Trait Implementations§
impl RefUnwindSafe for JoystickState
impl Send for JoystickState
impl Sync for JoystickState
impl Unpin for JoystickState
impl UnwindSafe for JoystickState
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