Enum dynasmrt::TargetKind
source · [−]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)
This targets a local label with the specified name that still has to be defined.
Backward(&'static str)
This targets a local label with the specified name that was already previously defined.
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
sourceimpl Clone for TargetKind
impl Clone for TargetKind
sourcefn clone(&self) -> TargetKind
fn clone(&self) -> TargetKind
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TargetKind
impl Debug for TargetKind
sourceimpl Display for TargetKind
impl Display for TargetKind
sourceimpl Hash for TargetKind
impl Hash for TargetKind
sourceimpl PartialEq<TargetKind> for TargetKind
impl PartialEq<TargetKind> for TargetKind
sourcefn eq(&self, other: &TargetKind) -> bool
fn eq(&self, other: &TargetKind) -> bool
impl Copy for TargetKind
impl Eq for TargetKind
impl StructuralEq for TargetKind
impl StructuralPartialEq for TargetKind
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more