Enum dynasmrt::TargetKind [−][src]
pub enum TargetKind {
Forward(&'static str),
Backward(&'static str),
Global(&'static str),
Dynamic(DynamicLabel),
Extern(usize),
Managed,
}
Expand description
A description of a relocation target. Used for error reporting.
Variants
Forward(&'static str)
Tuple Fields
0: &'static str
This targets a local label with the specified name that still has to be defined.
Backward(&'static str)
Tuple Fields
0: &'static str
This targets a local label with the specified name that was already previously defined.
Global(&'static str)
Tuple Fields
0: &'static str
This targets a global label with the specified name.
Dynamic(DynamicLabel)
Tuple Fields
0: DynamicLabel
This targets the specified dynamic label.
Extern(usize)
Tuple Fields
0: usize
This targets the specified address.
Managed
An already resolved relocation that needs to be adjusted when the buffer moves in memory.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TargetKind
impl Send for TargetKind
impl Sync for TargetKind
impl Unpin for TargetKind
impl UnwindSafe for TargetKind
Blanket Implementations
Mutably borrows from an owned value. Read more