__CodeDirectory

Struct __CodeDirectory 

Source
#[repr(C)]
pub struct __CodeDirectory {
Show 35 fields pub magic: u32, pub length: u32, pub version: u32, pub flags: u32, pub hashOffset: u32, pub identOffset: u32, pub nSpecialSlots: u32, pub nCodeSlots: u32, pub codeLimit: u32, pub hashSize: u8, pub hashType: u8, pub platform: u8, pub pageSize: u8, pub spare2: u32, pub end_earliest: __IncompleteArrayField<c_char>, pub scatterOffset: u32, pub end_withScatter: __IncompleteArrayField<c_char>, pub teamOffset: u32, pub end_withTeam: __IncompleteArrayField<c_char>, pub spare3: u32, pub codeLimit64: u64, pub end_withCodeLimit64: __IncompleteArrayField<c_char>, pub execSegBase: u64, pub execSegLimit: u64, pub execSegFlags: u64, pub end_withExecSeg: __IncompleteArrayField<c_char>, pub runtime: u32, pub preEncryptOffset: u32, pub end_withPreEncryptOffset: __IncompleteArrayField<c_char>, pub linkageHashType: u8, pub linkageTruncated: u8, pub spare4: u16, pub linkageOffset: u32, pub linkageSize: u32, pub end_withLinkage: __IncompleteArrayField<c_char>,
}

Fields§

§magic: u32§length: u32§version: u32§flags: u32§hashOffset: u32§identOffset: u32§nSpecialSlots: u32§nCodeSlots: u32§codeLimit: u32§hashSize: u8§hashType: u8§platform: u8§pageSize: u8§spare2: u32§end_earliest: __IncompleteArrayField<c_char>§scatterOffset: u32§end_withScatter: __IncompleteArrayField<c_char>§teamOffset: u32§end_withTeam: __IncompleteArrayField<c_char>§spare3: u32§codeLimit64: u64§end_withCodeLimit64: __IncompleteArrayField<c_char>§execSegBase: u64§execSegLimit: u64§execSegFlags: u64§end_withExecSeg: __IncompleteArrayField<c_char>§runtime: u32§preEncryptOffset: u32§end_withPreEncryptOffset: __IncompleteArrayField<c_char>§linkageHashType: u8§linkageTruncated: u8§spare4: u16§linkageOffset: u32§linkageSize: u32§end_withLinkage: __IncompleteArrayField<c_char>

Trait Implementations§

Source§

impl Debug for __CodeDirectory

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.