Struct wasmtime_environ::TableElements
source · pub struct TableElements {
pub table_index: TableIndex,
pub base: Option<GlobalIndex>,
pub offset: usize,
pub elements: Vec<FuncIndex>,
}
Expand description
A WebAssembly table initializer.
Fields§
§table_index: TableIndex
The index of a table to initialize.
base: Option<GlobalIndex>
Optionally, a global variable giving a base index.
offset: usize
The offset to add to the base.
elements: Vec<FuncIndex>
The values to write into the table elements.
Trait Implementations§
source§impl Clone for TableElements
impl Clone for TableElements
source§fn clone(&self) -> TableElements
fn clone(&self) -> TableElements
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more