Struct wasm_encoder::TableType
source · pub struct TableType {
pub element_type: RefType,
pub table64: bool,
pub minimum: u64,
pub maximum: Option<u64>,
pub shared: bool,
}
Expand description
A table’s type.
Fields§
§element_type: RefType
The table’s element type.
table64: bool
Whether or not this is a 64-bit table.
minimum: u64
Minimum size, in elements, of this table
maximum: Option<u64>
Maximum size, in elements, of this table
Whether this table is shared or not.
This is included the shared-everything-threads proposal.
Implementations§
Trait Implementations§
source§impl From<TableType> for EntityType
impl From<TableType> for EntityType
impl Copy for TableType
impl Eq for TableType
impl StructuralPartialEq for TableType
Auto Trait Implementations§
impl Freeze for TableType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.