#[repr(C)]
pub struct data_directories {
Show 16 fields pub export_table: data_directory, pub import_table: data_directory, pub resource_table: data_directory, pub exception_table: data_directory, pub certificate_table: data_directory, pub base_relocation_table: data_directory, pub debug: data_directory, pub architecture: data_directory, pub global_ptr: data_directory, pub tls_table: data_directory, pub load_config_table: data_directory, pub bound_import: data_directory, pub import_address_table: data_directory, pub delay_import_descriptor: data_directory, pub clr_runtime_header: data_directory, pub reserved: data_directory,
}
Expand description

Struct containing basic information (address and size) of each table.

Fields§

§export_table: data_directory

The export table (.edata) address and size. (Image Only)

§import_table: data_directory

The import table (.idata) address and size.

§resource_table: data_directory

The resource table (.rsrc) address and size.

§exception_table: data_directory

The exception table (.pdata) address and size.

§certificate_table: data_directory

The attribute certificate table address and size. (Image Only)

§base_relocation_table: data_directory

The base relocation table (.reloc) address and size. (Image Only)

§debug: data_directory

The debug data (.debug) starting address and size.

§architecture: data_directory

Reserved, must be 0.

§global_ptr: data_directory

The RVA of the value to be stored in the global pointer register. The size member of this structure must be set to zero.

§tls_table: data_directory

The thread local storage (TLS) table (.tls) address and size.

§load_config_table: data_directory

The load configuration table address and size. (Image Only)

§bound_import: data_directory

The bound import table address and size.

§import_address_table: data_directory

The import address table address and size.

§delay_import_descriptor: data_directory

The delay import descriptor address and size. (Image Only)

§clr_runtime_header: data_directory

The CLR runtime header (.cormeta) address and size. (Object Only

§reserved: data_directory

Reserved, must be zero.

Trait Implementations§

source§

impl Clone for data_directories

source§

fn clone(&self) -> data_directories

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for data_directories

source§

fn default() -> data_directories

Returns the “default value” for a type. Read more
source§

impl Display for data_directories

source§

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

Formats the value using the given formatter. Read more
source§

impl Zeroable for data_directories

source§

fn zeroed() -> Self

source§

impl Copy for data_directories

source§

impl Pod for data_directories

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> CheckedBitPattern for Twhere T: AnyBitPattern,

§

type Bits = T

Self must have the same layout as the specified Bits except for the possible invalid bit patterns being checked during is_valid_bit_pattern.
source§

fn is_valid_bit_pattern(_bits: &T) -> bool

If this function returns true, then it must be valid to reinterpret bits as &Self.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere 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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

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

§

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 Twhere U: TryFrom<T>,

§

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.
source§

impl<T> AnyBitPattern for Twhere T: Pod,

source§

impl<T> NoUninit for Twhere T: Pod,