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>>
New instance of the table
fn variable_type(&self) -> VariableType
Get variable type for this table.
fn get(&self, offset: u32) -> Result<RuntimeValue, Error<E>>
Get the specific value in the table
fn set_raw(
    &self, 
    offset: u32, 
    module_name: String, 
    value: &[u32]
) -> Result<(), Error<E>>
&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>>
Set the table from runtime variable value