[][src]Struct goblin::mach::load_command::LoadCommandHeader

#[repr(C)]
pub struct LoadCommandHeader {
    pub cmd: u32,
    pub cmdsize: u32,
}

Occurs at the beginning of every load command to serve as a sort of tagged union/enum discriminant

Fields

cmd: u32cmdsize: u32

Trait Implementations

impl Copy for LoadCommandHeader[src]

impl Clone for LoadCommandHeader[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for LoadCommandHeader[src]

impl Display for LoadCommandHeader[src]

impl<'a> TryFromCtx<'a, Endian, [u8]> for LoadCommandHeader where
    LoadCommandHeader: 'a, 
[src]

type Error = Error

type Size = usize

impl<'a> TryIntoCtx<Endian, [u8]> for &'a LoadCommandHeader[src]

type Error = Error

type Size = usize

impl TryIntoCtx<Endian, [u8]> for LoadCommandHeader[src]

type Error = Error

type Size = usize

impl SizeWith<Endian> for LoadCommandHeader[src]

type Units = usize

Auto Trait Implementations

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]