pub struct RelocationEntry {
pub offset: u64,
pub symbol: u32,
pub r_type: u32,
pub addend: Option<i64>,
}Expand description
One parsed relocation entry.
Fields§
§offset: u64The virtual address of the storage to relocate.
symbol: u32The relocation’s symbol index, zero when unused.
r_type: u32The processor-specific relocation type.
addend: Option<i64>The explicit addend, present only in RELA forms.
Implementations§
Trait Implementations§
Source§impl Clone for RelocationEntry
impl Clone for RelocationEntry
impl Copy for RelocationEntry
Source§impl Debug for RelocationEntry
impl Debug for RelocationEntry
impl Eq for RelocationEntry
Source§impl Hash for RelocationEntry
impl Hash for RelocationEntry
Source§impl PartialEq for RelocationEntry
impl PartialEq for RelocationEntry
impl StructuralPartialEq for RelocationEntry
Auto Trait Implementations§
impl Forget for RelocationEntry
impl Freeze for RelocationEntry
impl Move for RelocationEntry
impl RefUnwindSafe for RelocationEntry
impl Send for RelocationEntry
impl Sync for RelocationEntry
impl Unpin for RelocationEntry
impl UnsafeUnpin for RelocationEntry
impl UnwindSafe for RelocationEntry
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