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
Trait Implementations§
Auto Trait Implementations§
impl<F> RefUnwindSafe for TableBuilder<F>where F: RefUnwindSafe,
impl<F> Send for TableBuilder<F>where F: Send,
impl<F> Sync for TableBuilder<F>where F: Sync,
impl<F> Unpin for TableBuilder<F>where F: Unpin,
impl<F> UnwindSafe for TableBuilder<F>where F: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more