Struct wasm_encoder::TableType
source · pub struct TableType {
pub element_type: RefType,
pub table64: bool,
pub minimum: u64,
pub maximum: Option<u64>,
}
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
Implementations§
Trait Implementations§
source§impl From<TableType> for EntityType
impl From<TableType> for EntityType
source§impl PartialEq for TableType
impl PartialEq for TableType
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