Struct wasmi::TableRef
[−]
[src]
pub struct TableRef(_);
Reference to a TableInstance
.
This reference has a reference-counting semantics.
Methods from Deref<Target = TableInstance>
fn initial_size(&self) -> u32
[src]
fn maximum_size(&self) -> Option<u32>
[src]
fn current_size(&self) -> u32
[src]
fn grow(&self, by: u32) -> Result<(), Error>
[src]
fn get(&self, offset: u32) -> Result<FuncRef, Error>
[src]
Get the specific value in the table
fn set(&self, offset: u32, value: Option<FuncRef>) -> Result<(), Error>
[src]
Set the table element to the specified function.
Trait Implementations
impl Clone for TableRef
[src]
fn clone(&self) -> TableRef
[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 TableRef
[src]
impl Deref for TableRef
[src]
type Target = TableInstance
The resulting type after dereferencing.
fn deref(&self) -> &TableInstance
[src]
Dereferences the value.