Struct parity_wasm::interpreter::TableInstance
[−]
[src]
pub struct TableInstance<E: UserError> { /* fields omitted */ }
Table instance.
Methods
impl<E> TableInstance<E> where
E: UserError, [src]
E: UserError,
fn new(table_type: &TableType) -> Result<Arc<Self>, Error<E>>[src]
New instance of the table
fn limits(&self) -> &ResizableLimits[src]
Return table limits.
fn variable_type(&self) -> VariableType[src]
Get variable type for this table.
fn get(&self, offset: u32) -> Result<RuntimeValue, Error<E>>[src]
Get the specific value in the table
fn set_raw(
&self,
offset: u32,
module_name: String,
value: &[u32]
) -> Result<(), Error<E>>[src]
&self,
offset: u32,
module_name: String,
value: &[u32]
) -> Result<(), Error<E>>
Set the table value from raw slice
fn set(&self, offset: u32, value: RuntimeValue) -> Result<(), Error<E>>[src]
Set the table from runtime variable value