pub struct TableType { /* private fields */ }Expand description
A table type: element reference type plus limits and index width. (Boundary type; internal storage is IR.)
Implementations§
Source§impl TableType
impl TableType
pub fn new(element: RefType, min: u32, max: Option<u32>) -> TableType
pub fn new64(element: RefType, min: u64, max: Option<u64>) -> TableType
pub fn element(&self) -> &RefType
pub fn minimum(&self) -> u64
pub fn maximum(&self) -> Option<u64>
pub fn is_64(&self) -> bool
Trait Implementations§
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 UnsafeUnpin 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§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.