pub struct LoadCommand {
pub cmd: u32,
pub cmdsize: u32,
pub data: Vec<u8>,
}Expand description
加载命令基础结构
Fields§
§cmd: u32命令类型
cmdsize: u32命令大小
data: Vec<u8>命令数据
Trait Implementations§
Source§impl Clone for LoadCommand
impl Clone for LoadCommand
Source§fn clone(&self) -> LoadCommand
fn clone(&self) -> LoadCommand
Returns a duplicate 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 Debug for LoadCommand
impl Debug for LoadCommand
Source§impl<'de> Deserialize<'de> for LoadCommand
impl<'de> Deserialize<'de> for LoadCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LoadCommand
impl RefUnwindSafe for LoadCommand
impl Send for LoadCommand
impl Sync for LoadCommand
impl Unpin for LoadCommand
impl UnsafeUnpin for LoadCommand
impl UnwindSafe for LoadCommand
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