Struct joycon_sys::accessory::AccessoryCommand
source · #[repr(packed(1))]pub struct AccessoryCommand { /* private fields */ }
Implementations§
source§impl AccessoryCommand
impl AccessoryCommand
pub fn get_offline_steps() -> Self
pub fn write_offline_steps(steps: u16, sum: u8) -> Self
Trait Implementations§
source§impl Clone for AccessoryCommand
impl Clone for AccessoryCommand
source§fn clone(&self) -> AccessoryCommand
fn clone(&self) -> AccessoryCommand
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 AccessoryCommand
impl Debug for AccessoryCommand
source§impl From<AccessoryCommand> for SubcommandRequest
impl From<AccessoryCommand> for SubcommandRequest
source§fn from(accessory_cmd: AccessoryCommand) -> Self
fn from(accessory_cmd: AccessoryCommand) -> Self
Converts to this type from the input type.
impl Copy for AccessoryCommand
Auto Trait Implementations§
impl Freeze for AccessoryCommand
impl RefUnwindSafe for AccessoryCommand
impl Send for AccessoryCommand
impl Sync for AccessoryCommand
impl Unpin for AccessoryCommand
impl UnwindSafe for AccessoryCommand
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