[][src]Struct dynasm::State

pub struct State<'a> {
    pub stmts: &'a mut Vec<Stmt>,
    pub target: &'a str,
    pub file_data: &'a mut DynasmData,
}

This struct contains all non-parsing state that dynasm! requires while parsing and compiling

Fields

stmts: &'a mut Vec<Stmt>target: &'a strfile_data: &'a mut DynasmData

Trait Implementations

impl<'_> AssembleX64 for State<'_>[src]

impl<'_> AssembleX86 for State<'_>[src]

impl<'_> BasicExprBuilder for State<'_>[src]

A simple implementation of a BasicExprBuilder.

It can not combine any expressions, pushes statements into a Vec and emits errors onto standard error directly.

fn emit_error_at(&mut self, _: ErrorSpan, args: Arguments)[src]

Emits the error message on stderr.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for State<'a>

impl<'a> Send for State<'a>

impl<'a> !Sync for State<'a>

impl<'a> Unpin for State<'a>

impl<'a> !UnwindSafe for State<'a>

Blanket Implementations

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

impl<T> BasicExprBuilderExt for T where
    T: BasicExprBuilder + ?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.