[][src]Enum dynasmrt::TargetKind

pub enum TargetKind {
    Forward(&'static str),
    Backward(&'static str),
    Global(&'static str),
    Dynamic(DynamicLabel),
    Extern(usize),
    Managed,
}

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

impl Clone for TargetKind[src]

impl Copy for TargetKind[src]

impl Debug for TargetKind[src]

impl Display for TargetKind[src]

impl Eq for TargetKind[src]

impl Hash for TargetKind[src]

impl PartialEq<TargetKind> for TargetKind[src]

impl StructuralEq for TargetKind[src]

impl StructuralPartialEq for TargetKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.