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_: RelocationType
§pc_relative: bool
§base_relative: bool
§base: u64
§size: usize
§truncate_size: usize
§native_type: u64
§addend: usize
§has_sign: bool
§implicit_addend: bool
§external: bool
§symbol_index: usize
§section_index: usize
§address: u64
§target: u64
§data_relocation: bool
Implementations§
Trait Implementations§
source§impl Clone for RelocationInfo
impl Clone for RelocationInfo
source§fn clone(&self) -> RelocationInfo
fn clone(&self) -> RelocationInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RelocationInfo
impl RefUnwindSafe for RelocationInfo
impl Send for RelocationInfo
impl Sync for RelocationInfo
impl Unpin for RelocationInfo
impl UnwindSafe for RelocationInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more