pub struct Table(/* private fields */);Expand description
A Wasm table.
Implementations§
Source§impl Table
impl Table
Sourcepub fn new(
store: &mut Store,
type_: TableType,
val: Ref,
) -> Result<Self, TableError>
pub fn new( store: &mut Store, type_: TableType, val: Ref, ) -> Result<Self, TableError>
Sourcepub fn grow(
self,
store: &mut Store,
val: Ref,
count: u32,
) -> Result<(), TableError>
pub fn grow( self, store: &mut Store, val: Ref, count: u32, ) -> Result<(), TableError>
Trait Implementations§
impl Copy for Table
impl Eq for Table
impl StructuralPartialEq for Table
Auto Trait Implementations§
impl Freeze for Table
impl !RefUnwindSafe for Table
impl !Send for Table
impl !Sync for Table
impl Unpin for Table
impl !UnwindSafe for Table
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