#[repr(C)]pub struct LoadCommandHeader {
pub cmd: u32,
pub cmdsize: u32,
}
Expand description
Occurs at the beginning of every load command to serve as a sort of tagged union/enum discriminant
Fields§
§cmd: u32
§cmdsize: u32
Trait Implementations§
Source§impl Clone for LoadCommandHeader
impl Clone for LoadCommandHeader
Source§fn clone(&self) -> LoadCommandHeader
fn clone(&self) -> LoadCommandHeader
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 moreSource§impl Debug for LoadCommandHeader
impl Debug for LoadCommandHeader
Source§impl Display for LoadCommandHeader
impl Display for LoadCommandHeader
Source§impl<'a> TryFromCtx<'a, Endian> for LoadCommandHeaderwhere
LoadCommandHeader: 'a,
impl<'a> TryFromCtx<'a, Endian> for LoadCommandHeaderwhere
LoadCommandHeader: 'a,
Source§impl<'a> TryIntoCtx<Endian> for &'a LoadCommandHeader
impl<'a> TryIntoCtx<Endian> for &'a LoadCommandHeader
Source§impl TryIntoCtx<Endian> for LoadCommandHeader
impl TryIntoCtx<Endian> for LoadCommandHeader
impl Copy for LoadCommandHeader
Auto Trait Implementations§
impl Freeze for LoadCommandHeader
impl RefUnwindSafe for LoadCommandHeader
impl Send for LoadCommandHeader
impl Sync for LoadCommandHeader
impl Unpin for LoadCommandHeader
impl UnwindSafe for LoadCommandHeader
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