Struct joycon_sys::input::StandardInputReport
source · #[repr(packed(1))]pub struct StandardInputReport {
pub timer: u8,
pub info: DeviceStatus,
pub buttons: ButtonsStatus,
pub left_stick: Stick,
pub right_stick: Stick,
pub vibrator: u8,
}
Fields§
§timer: u8
§info: DeviceStatus
§left_stick: Stick
§right_stick: Stick
§vibrator: u8
Trait Implementations§
source§impl Clone for StandardInputReport
impl Clone for StandardInputReport
source§fn clone(&self) -> StandardInputReport
fn clone(&self) -> StandardInputReport
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 StandardInputReport
impl Debug for StandardInputReport
impl Copy for StandardInputReport
Auto Trait Implementations§
impl Freeze for StandardInputReport
impl RefUnwindSafe for StandardInputReport
impl Send for StandardInputReport
impl Sync for StandardInputReport
impl Unpin for StandardInputReport
impl UnwindSafe for StandardInputReport
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