pub struct CommandHeader {
pub len: u32,
pub cmd: u16,
pub crc32: u32,
}
Fields§
§len: u32
§cmd: u16
§crc32: u32
Trait Implementations§
Source§impl Clone for CommandHeader
impl Clone for CommandHeader
Source§fn clone(&self) -> CommandHeader
fn clone(&self) -> CommandHeader
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 moreAuto Trait Implementations§
impl Freeze for CommandHeader
impl RefUnwindSafe for CommandHeader
impl Send for CommandHeader
impl Sync for CommandHeader
impl Unpin for CommandHeader
impl UnwindSafe for CommandHeader
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