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
)