pub struct RelocationInfo {
Show 16 fields pub type_: RelocationType, pub pc_relative: bool, pub base_relative: bool, pub base: u64, pub size: usize, pub truncate_size: usize, pub native_type: u64, pub addend: usize, pub has_sign: bool, pub implicit_addend: bool, pub external: bool, pub symbol_index: usize, pub section_index: usize, pub address: u64, pub target: u64, pub data_relocation: bool, /* private fields */
}

Fields

type_: RelocationTypepc_relative: boolbase_relative: boolbase: u64size: usizetruncate_size: usizenative_type: u64addend: usizehas_sign: boolimplicit_addend: boolexternal: boolsymbol_index: usizesection_index: usizeaddress: u64target: u64data_relocation: bool

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.