Struct joycon_sys::mcu::MCUCommand
source · #[repr(packed(1))]pub struct MCUCommand { /* private fields */ }
Implementations§
source§impl MCUCommand
impl MCUCommand
pub fn set_mcu_mode(mode: MCUMode) -> Self
pub fn configure_mcu_ir(conf: MCUIRModeData) -> Self
pub fn configure_ir_ir(conf: MCUIRModeData) -> Self
pub fn set_ir_registers(regs: MCURegisters) -> Self
Trait Implementations§
source§impl Clone for MCUCommand
impl Clone for MCUCommand
source§fn clone(&self) -> MCUCommand
fn clone(&self) -> MCUCommand
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 MCUCommand
impl Debug for MCUCommand
source§impl From<MCUCommand> for SubcommandRequest
impl From<MCUCommand> for SubcommandRequest
source§fn from(mcu_cmd: MCUCommand) -> Self
fn from(mcu_cmd: MCUCommand) -> Self
Converts to this type from the input type.
impl Copy for MCUCommand
Auto Trait Implementations§
impl Freeze for MCUCommand
impl RefUnwindSafe for MCUCommand
impl Send for MCUCommand
impl Sync for MCUCommand
impl Unpin for MCUCommand
impl UnwindSafe for MCUCommand
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