pub struct Reloc {
pub offset: u64,
pub symbol: usize,
pub kind: RelocKind,
pub addend: i64,
}Expand description
A single relocation record.
Fields§
§offset: u64Byte offset within the section data.
symbol: usizeIndex into ObjectFile::symbols for the referenced symbol.
kind: RelocKindPublic API for kind.
addend: i64Addend (ELF RELA / Mach-O addend).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reloc
impl RefUnwindSafe for Reloc
impl Send for Reloc
impl Sync for Reloc
impl Unpin for Reloc
impl UnsafeUnpin for Reloc
impl UnwindSafe for Reloc
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