#[repr(C, packed(1))]pub struct CmdSerialStub {
pub ty: u8,
pub cmd_code: u16,
pub payload_len: u8,
}
Fields§
§ty: u8
§cmd_code: u16
§payload_len: u8
Trait Implementations§
Source§impl Clone for CmdSerialStub
impl Clone for CmdSerialStub
Source§fn clone(&self) -> CmdSerialStub
fn clone(&self) -> CmdSerialStub
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 Default for CmdSerialStub
impl Default for CmdSerialStub
Source§fn default() -> CmdSerialStub
fn default() -> CmdSerialStub
Returns the “default value” for a type. Read more
impl Copy for CmdSerialStub
Auto Trait Implementations§
impl Freeze for CmdSerialStub
impl RefUnwindSafe for CmdSerialStub
impl Send for CmdSerialStub
impl Sync for CmdSerialStub
impl Unpin for CmdSerialStub
impl UnwindSafe for CmdSerialStub
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