[][src]Enum dynasm::Directive

pub enum Directive {
    Arch(String),
    Feature(Vec<String>),
    Data(SizeVec<Const>),
    Byte(Expr),
    Align {
        value: Expr,
        with: Option<Expr>,
    },
    Alias {
        alias: String,
        reg: String,
    },
    Expr(Expr),
}

Variants

Arch(String)

Set the architcture.

Feature(Vec<String>)

Activate an architecture feature, or none to remove all.

Data(SizeVec<Const>)

Directly add some inline data words.

Byte(Expr)

Add some byte directly to the assembled data.

Align

Perform an alignment.

Fields of Align

value: Exprwith: Option<Expr>
Alias

Fields of Alias

alias: String

The alias to use.

reg: String

The target register which is given an alias.

Expr(Expr)

A direct expression to add as bytes to the output.

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, 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.