Struct dynasmrt::Executor
[−]
[src]
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.
fn lock(&self) -> RwLockReadGuard<ExecutableBuffer>
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 Debug for Executor[src]
impl Clone for Executor[src]
fn clone(&self) -> Executor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more