pub struct TableType { /* private fields */ }
Expand description
A descriptor for a table in a WebAssembly module.
Tables are contiguous chunks of a specific element, typically a funcref
or
an externref
. The most common use for tables is a function table through
which call_indirect
can invoke other functions.
Implementations
Trait Implementations
sourceimpl From<TableType> for ExternType
impl From<TableType> for ExternType
sourcefn from(ty: TableType) -> ExternType
fn from(ty: TableType) -> ExternType
Converts to this type from the input type.
sourceimpl PartialEq<TableType> for TableType
impl PartialEq<TableType> for TableType
impl Eq for TableType
impl StructuralEq for TableType
impl StructuralPartialEq for TableType
Auto Trait Implementations
impl RefUnwindSafe for TableType
impl Send for TableType
impl Sync for TableType
impl Unpin for TableType
impl UnwindSafe for TableType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.