[][src]Struct metagoblin::mach::load_command::LinkeditDataCommand

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

The linkedit_data_command contains the offsets and sizes of a blob of data in the __LINKEDIT segment.

Fields

cmd: u32

LC_CODE_SIGNATURE, LC_SEGMENT_SPLIT_INFO, LC_FUNCTION_STARTS, LC_DATA_IN_CODE, LC_DYLIB_CODE_SIGN_DRS, LC_LINKER_OPTIMIZATION_HINT, LC_DYLD_EXPORTS_TRIE, or LC_DYLD_CHAINED_FIXUPS.

cmdsize: u32

sizeof(struct linkedit_data_command)

dataoff: u32

file offset of data in __LINKEDIT segment

datasize: u32

file size of data in __LINKEDIT segment

Trait Implementations

impl Clone for LinkeditDataCommand[src]

impl Copy for LinkeditDataCommand[src]

impl Debug for LinkeditDataCommand[src]

impl FromCtx<Endian, [u8]> for LinkeditDataCommand[src]

impl IntoCtx<Endian, [u8]> for LinkeditDataCommand[src]

impl<'a> IntoCtx<Endian, [u8]> for &'a LinkeditDataCommand[src]

impl SizeWith<Endian> for LinkeditDataCommand[src]

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

type Error = Error

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

type Error = Error

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

type Error = Error

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.