#[repr(C, packed(1))]pub struct CcEvt {
pub num_cmd: u8,
pub cmd_code: u16,
pub payload: [u8; 1],
}
Expand description
The payload of Evt
for a command complete event
Fields§
§num_cmd: u8
§cmd_code: u16
§payload: [u8; 1]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CcEvt
impl RefUnwindSafe for CcEvt
impl Send for CcEvt
impl Sync for CcEvt
impl Unpin for CcEvt
impl UnwindSafe for CcEvt
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