Struct dynasmrt::components::RelocRegistry[][src]

pub struct RelocRegistry<R: Relocation> { /* fields omitted */ }
Expand description

A registry of relocations and the respective labels they point towards.

Implementations

Create a new, empty relocation registry.

Add a new patch targetting the global label name.

Add a new patch targetting the dynamic label id.

Add a new patch targetting the next local label name. As any relocation targetting a previous local label can be immediately resolved these should not be recorded.

Return an iterator through all defined relocations targetting local label name. These relocations are removed from the registry.

Return an iterator through all defined relocations targeting global labels and the labels they target. These relocations are removed from the registry.

Return an iterator through all defined relocations targeting dynamic labels and the labels they target. These relocations are removed from the registry.

Return an iterator through all defined relocations targeting local labels and the labels they target. These relocations are removed from the registry.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.