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

#[repr(C)]pub struct DataInCodeEntry {
    pub offset: u32,
    pub length: u16,
    pub kind: u16,
}

The LC_DATA_IN_CODE load commands uses a linkedit_data_command to point to an array of data_in_code_entry entries. Each entry describes a range of data in a code section.

Fields

offset: u32

from mach_header to start of data range

length: u16

number of bytes in data range

kind: u16

a DICE_KIND_* value

Trait Implementations

impl Clone for DataInCodeEntry[src]

impl Copy for DataInCodeEntry[src]

impl Debug for DataInCodeEntry[src]

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

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

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

impl SizeWith<Endian> for DataInCodeEntry[src]

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

type Error = Error

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

type Error = Error

impl<'a> TryIntoCtx<Endian, [u8]> for &'a DataInCodeEntry[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.