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
sourceimpl Debug for TableDefinition
impl Debug for TableDefinition
sourceimpl Default for TableDefinition
impl Default for TableDefinition
sourcefn default() -> TableDefinition
fn default() -> TableDefinition
Returns the “default value” for a type. Read more
sourceimpl PartialEq<TableDefinition> for TableDefinition
impl PartialEq<TableDefinition> for TableDefinition
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &TableDefinition) -> bool
fn ne(&self, other: &TableDefinition) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more