Struct wasmtime_environ::wasmparser::TableType
source · pub struct TableType {
pub element_type: RefType,
pub initial: u32,
pub maximum: Option<u32>,
}
Expand description
Represents a table’s type.
Fields§
§element_type: RefType
The table’s element type.
initial: u32
Initial size of this table, in elements.
maximum: Option<u32>
Optional maximum size of the table, in elements.
Trait Implementations§
source§impl<'a> FromReader<'a> for TableType
impl<'a> FromReader<'a> for TableType
source§fn from_reader(
reader: &mut BinaryReader<'a>
) -> Result<TableType, BinaryReaderError>
fn from_reader( reader: &mut BinaryReader<'a> ) -> Result<TableType, BinaryReaderError>
Attempts to read
Self
from the provided binary reader, returning an
error if it is unable to do so.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
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.§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.