Enum dynasmrt::TargetKind
source · pub enum TargetKind {
Local(&'static str),
Global(&'static str),
Dynamic(DynamicLabel),
Extern(usize),
Managed,
}
Expand description
A description of a relocation target. Used for error reporting.
Variants§
Local(&'static str)
This targets a local label with the specified name.
Global(&'static str)
This targets a global label with the specified name.
Dynamic(DynamicLabel)
This targets the specified dynamic label.
Extern(usize)
This targets the specified address.
Managed
An already resolved relocation that needs to be adjusted when the buffer moves in memory.
Trait Implementations§
source§impl Clone for TargetKind
impl Clone for TargetKind
source§fn clone(&self) -> TargetKind
fn clone(&self) -> TargetKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more