Struct wasmi::GlobalRef
[−]
[src]
pub struct GlobalRef(_);
Reference to a GlobalInstance
.
This reference has a reference-counting semantics.
Methods from Deref<Target = GlobalInstance>
fn set(&self, val: RuntimeValue) -> Result<(), Error>
[src]
fn get(&self) -> RuntimeValue
[src]
fn is_mutable(&self) -> bool
[src]
fn value_type(&self) -> ValueType
[src]
Trait Implementations
impl Clone for GlobalRef
[src]
fn clone(&self) -> GlobalRef
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for GlobalRef
[src]
impl Deref for GlobalRef
[src]
type Target = GlobalInstance
The resulting type after dereferencing.
fn deref(&self) -> &GlobalInstance
[src]
Dereferences the value.