Struct joycon_sys::input::NormalInputReport
source · #[repr(packed(1))]pub struct NormalInputReport {
pub buttons: [u8; 2],
pub stick: u8,
/* private fields */
}
Fields§
§stick: u8
Trait Implementations§
source§impl Clone for NormalInputReport
impl Clone for NormalInputReport
source§fn clone(&self) -> NormalInputReport
fn clone(&self) -> NormalInputReport
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 NormalInputReport
impl Debug for NormalInputReport
source§impl Default for NormalInputReport
impl Default for NormalInputReport
source§fn default() -> NormalInputReport
fn default() -> NormalInputReport
Returns the “default value” for a type. Read more
impl Copy for NormalInputReport
Auto Trait Implementations§
impl Freeze for NormalInputReport
impl RefUnwindSafe for NormalInputReport
impl Send for NormalInputReport
impl Sync for NormalInputReport
impl Unpin for NormalInputReport
impl UnwindSafe for NormalInputReport
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