Struct parity_wasm::builder::TableDefinition
source · pub struct TableDefinition {
pub min: u32,
pub max: Option<u32>,
pub elements: Vec<TableEntryDefinition>,
}
Expand description
Table definition
Fields§
§min: u32
Minimum length
max: Option<u32>
Maximum length, if any
elements: Vec<TableEntryDefinition>
Element segments, if any
Trait Implementations§
source§impl Debug for TableDefinition
impl Debug for TableDefinition
source§impl Default for TableDefinition
impl Default for TableDefinition
source§fn default() -> TableDefinition
fn default() -> TableDefinition
Returns the “default value” for a type. Read more
source§impl PartialEq<TableDefinition> for TableDefinition
impl PartialEq<TableDefinition> for TableDefinition
source§fn eq(&self, other: &TableDefinition) -> bool
fn eq(&self, other: &TableDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TableDefinition
Auto Trait Implementations§
impl RefUnwindSafe for TableDefinition
impl Send for TableDefinition
impl Sync for TableDefinition
impl Unpin for TableDefinition
impl UnwindSafe for TableDefinition
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