Struct object::macho::Relocation
source · [−]Expand description
A relocation entry.
Mach-O relocations have plain and scattered variants, with the meaning of the fields depending on the variant.
This type provides functions for determining whether the relocation is scattered, and for accessing the fields of each variant.
Fields
r_word0: U32<E>
r_word1: U32<E>
Implementations
Determine whether this is a scattered relocation.
Return the fields of a plain relocation.
Return the fields of a scattered relocation.
Trait Implementations
Auto Trait Implementations
impl<E> RefUnwindSafe for Relocation<E> where
E: RefUnwindSafe,
impl<E> Send for Relocation<E> where
E: Send,
impl<E> Sync for Relocation<E> where
E: Sync,
impl<E> Unpin for Relocation<E> where
E: Unpin,
impl<E> UnwindSafe for Relocation<E> where
E: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more