#[repr(C, packed(1))]pub struct CmdSerial {
pub ty: u8,
pub cmd: Cmd,
}
Fields§
§ty: u8
§cmd: Cmd
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CmdSerial
impl RefUnwindSafe for CmdSerial
impl Send for CmdSerial
impl Sync for CmdSerial
impl Unpin for CmdSerial
impl UnwindSafe for CmdSerial
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