Struct parity_wasm::builder::TableBuilder
source · pub struct TableBuilder<F = Identity> { /* private fields */ }
Expand description
Table builder
Implementations§
source§impl TableBuilder
impl TableBuilder
source§impl<F> TableBuilder<F>where
F: Invoke<TableDefinition>,
impl<F> TableBuilder<F>where
F: Invoke<TableDefinition>,
sourcepub fn with_callback(callback: F) -> Self
pub fn with_callback(callback: F) -> Self
New table builder with callback in chained context
sourcepub fn with_element(self, index: u32, values: Vec<u32>) -> Self
pub fn with_element(self, index: u32, values: Vec<u32>) -> Self
Generate initialization expression and element values on specified index