pub enum TableKind<'a> {
Import {
import: InlineImport<'a>,
ty: TableType<'a>,
},
Normal(TableType<'a>),
Inline {
elem: RefType<'a>,
payload: ElemPayload<'a>,
},
}
Expand description
Different ways to textually define a table.
Variants
Import
This table is actually an inlined import definition.
Normal(TableType<'a>)
A typical memory definition which simply says the limits of the table
Inline
Fields
elem: RefType<'a>
The element type of this table.
payload: ElemPayload<'a>
The element table entries to have, and the length of this list is the limits of the table as well.
The elem segments of this table, starting from 0, explicitly listed
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for TableKind<'a>
impl<'a> Send for TableKind<'a>
impl<'a> Sync for TableKind<'a>
impl<'a> Unpin for TableKind<'a>
impl<'a> UnwindSafe for TableKind<'a>
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