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§
source§impl From<TableType> for ExternType
impl From<TableType> for ExternType
source§fn from(ty: TableType) -> ExternType
fn from(ty: TableType) -> ExternType
Converts to this type from the input type.
source§impl 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§
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
source§impl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.