[][src]Struct dynasmrt::Executor

pub struct Executor { /* fields omitted */ }

A read-only shared reference to the executable buffer inside an Assembler. By locking it the internal ExecutableBuffer can be accessed and executed.

Methods

impl Executor
[src]

A read-only lockable reference to the internal ExecutableBuffer of an Assembler. To gain access to this buffer, it must be locked.

pub fn lock(&self) -> RwLockReadGuard<ExecutableBuffer>
[src]

Gain read-access to the internal ExecutableBuffer. While the returned guard is alive, it can be used to read and execute from the ExecutableBuffer. Any pointers created to the Executablebuffer should no longer be used when the guard is dropped.

Trait Implementations

impl Clone for Executor
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Executor
[src]

Auto Trait Implementations

impl Send for Executor

impl Sync for Executor

Blanket Implementations

impl<T> From for T
[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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