pub struct TableData {
pub ty: Type,
pub initial: u64,
pub max: Option<u64>,
pub func_elements: Option<Vec<Func>>,
}Expand description
A table definition.
Fields§
§ty: TypeThe type of element in this table.
initial: u64The initial size (in elements) of this table.
max: Option<u64>The maximum size (in elements), if any, of this table.
func_elements: Option<Vec<Func>>If this is a table of function references, the initial
contents of the table. null funcrefs are represented by
Func::invalid().
Trait Implementations§
Source§impl Ord for TableData
impl Ord for TableData
Source§impl PartialOrd for TableData
impl PartialOrd for TableData
impl Eq for TableData
impl StructuralPartialEq for TableData
Auto Trait Implementations§
impl Freeze for TableData
impl RefUnwindSafe for TableData
impl Send for TableData
impl Sync for TableData
impl Unpin for TableData
impl UnwindSafe for TableData
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more