pub struct CommandPacket {
pub id: u32,
pub command_set: u8,
pub command: u8,
pub data: Vec<u8>,
}Fields§
§id: u32§command_set: u8§command: u8§data: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for CommandPacket
impl Clone for CommandPacket
Source§fn clone(&self) -> CommandPacket
fn clone(&self) -> CommandPacket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommandPacket
impl RefUnwindSafe for CommandPacket
impl Send for CommandPacket
impl Sync for CommandPacket
impl Unpin for CommandPacket
impl UnsafeUnpin for CommandPacket
impl UnwindSafe for CommandPacket
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