Struct parity_wasm::elements::TableType [−][src]
pub struct TableType { /* fields omitted */ }Table entry
Methods
impl TableType[src]
impl TableTypepub fn new(min: u32, max: Option<u32>) -> Self[src]
pub fn new(min: u32, max: Option<u32>) -> SelfNew table definition
pub fn limits(&self) -> &ResizableLimits[src]
pub fn limits(&self) -> &ResizableLimitsTable memory specification
pub fn elem_type(&self) -> TableElementType[src]
pub fn elem_type(&self) -> TableElementTypeTable element type
Trait Implementations
impl Debug for TableType[src]
impl Debug for TableTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for TableType[src]
impl Copy for TableTypeimpl Clone for TableType[src]
impl Clone for TableTypefn clone(&self) -> TableType[src]
fn clone(&self) -> TableTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for TableType[src]
impl PartialEq for TableTypefn eq(&self, other: &TableType) -> bool[src]
fn eq(&self, other: &TableType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TableType) -> bool[src]
fn ne(&self, other: &TableType) -> boolThis method tests for !=.
impl Deserialize for TableType[src]
impl Deserialize for TableTypetype Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>[src]
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>Deserialize type from serial i/o
impl Serialize for TableType[src]
impl Serialize for TableType