Struct parity_wasm::interpreter::TableInstance
[−]
[src]
pub struct TableInstance { /* fields omitted */ }
Table instance.
Methods
impl TableInstance
[src]
fn new(table_type: &TableType) -> Result<Arc<Self>, Error>
[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>
[src]
Get the specific value in the table
fn set_raw(
&self,
offset: u32,
module_name: String,
value: &[u32]
) -> Result<(), Error>
[src]
&self,
offset: u32,
module_name: String,
value: &[u32]
) -> Result<(), Error>
Set the table value from raw slice
fn set(&self, offset: u32, value: RuntimeValue) -> Result<(), Error>
[src]
Set the table from runtime variable value