Struct joycon_sys::mcu::MCUCommandCRC
source · #[repr(packed(1))]pub struct MCUCommandCRC { /* private fields */ }
Implementations§
source§impl MCUCommandCRC
impl MCUCommandCRC
pub fn compute_crc8(&mut self, subcmd_id: MCUSubCommandId)
Trait Implementations§
source§impl Clone for MCUCommandCRC
impl Clone for MCUCommandCRC
source§fn clone(&self) -> MCUCommandCRC
fn clone(&self) -> MCUCommandCRC
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 MCUCommandCRC
impl Debug for MCUCommandCRC
impl Copy for MCUCommandCRC
Auto Trait Implementations§
impl Freeze for MCUCommandCRC
impl RefUnwindSafe for MCUCommandCRC
impl Send for MCUCommandCRC
impl Sync for MCUCommandCRC
impl Unpin for MCUCommandCRC
impl UnwindSafe for MCUCommandCRC
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