pub trait AsDynamicRelocation {
    // Provided methods
    fn version(&self) -> u32 { ... }
    fn symbol(&self) -> u64 { ... }
    fn fixups(&self) -> Option<DynamicFixup<'_>> { ... }
}
Expand description

Trait shared by all dynamic relocations

Provided Methods§

fn version(&self) -> u32

Version of the structure

fn symbol(&self) -> u64

Symbol address. Some values have a special meaning and define how fixups are encoded

fn fixups(&self) -> Option<DynamicFixup<'_>>

Return fixups information, where the interpretation may depend on the AsDynamicRelocation::symbol

Trait Implementations§

§

impl Display for &dyn AsDynamicRelocation

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§