pub enum Relocation {
Standard(StandardRelocation),
Scattered(ScatteredRelocation),
}Expand description
A decoded relocation entry, either standard or scattered.
Variants§
Standard(StandardRelocation)
The Standard variant.
Scattered(ScatteredRelocation)
The Scattered variant.
Implementations§
Source§impl Relocation
impl Relocation
Sourcepub fn reloc_type(&self) -> u8
pub fn reloc_type(&self) -> u8
Performs reloc_type.
Sourcepub fn pc_relative(&self) -> bool
pub fn pc_relative(&self) -> bool
Performs pc_relative.
Sourcepub fn is_scattered(&self) -> bool
pub fn is_scattered(&self) -> bool
Performs is_scattered.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Relocation
impl RefUnwindSafe for Relocation
impl Send for Relocation
impl Sync for Relocation
impl Unpin for Relocation
impl UnsafeUnpin for Relocation
impl UnwindSafe for Relocation
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