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
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more