Struct wasm_encoder::TableType
source · pub struct TableType {
pub element_type: RefType,
pub minimum: u32,
pub maximum: Option<u32>,
}
Expand description
A table’s type.
Fields§
§element_type: RefType
The table’s element type.
minimum: u32
Minimum size, in elements, of this table
maximum: Option<u32>
Maximum size, in elements, of this table
Trait Implementations§
source§impl From<TableType> for EntityType
impl From<TableType> for EntityType
source§impl PartialEq<TableType> for TableType
impl PartialEq<TableType> for TableType
impl Copy 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