Struct parity_wasm::builder::TableBuilder
source · [−]pub struct TableBuilder<F = Identity> { /* private fields */ }
Expand description
Table builder
Implementations
sourceimpl TableBuilder
impl TableBuilder
sourceimpl<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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more