Struct object::write::Relocation [−][src]
A relocation in an object file.
Fields
offset: u64
The section offset of the place of the relocation.
size: u8
The size in bits of the place of relocation.
kind: RelocationKind
The operation used to calculate the result of the relocation.
encoding: RelocationEncoding
Information about how the result of the relocation operation is encoded in the place.
symbol: SymbolId
The symbol referred to by the relocation.
This may be a section symbol.
addend: i64
The addend to use in the relocation calculation.
This may be in addition to an implicit addend stored at the place of the relocation.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Relocation
impl Send for Relocation
impl Sync for Relocation
impl Unpin for Relocation
impl UnwindSafe for Relocation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,