Struct goblin::mach::load_command::LoadCommandHeader
source · #[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 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