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
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
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 UnsafeUnpin 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