Struct parity_wasm::elements::TableType [−][src]
pub struct TableType { /* fields omitted */ }
Table entry
Methods
impl TableType
[src]
impl TableType
pub fn new(min: u32, max: Option<u32>) -> Self
[src]
pub fn new(min: u32, max: Option<u32>) -> Self
New table definition
pub fn limits(&self) -> &ResizableLimits
[src]
pub fn limits(&self) -> &ResizableLimits
Table memory specification
pub fn elem_type(&self) -> TableElementType
[src]
pub fn elem_type(&self) -> TableElementType
Table element type
Trait Implementations
impl Debug for TableType
[src]
impl Debug for TableType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for TableType
[src]
impl Copy for TableType
impl Clone for TableType
[src]
impl Clone for TableType
fn clone(&self) -> TableType
[src]
fn clone(&self) -> TableType
Returns 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 TableType
fn eq(&self, other: &TableType) -> bool
[src]
fn eq(&self, other: &TableType) -> bool
This 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) -> bool
This method tests for !=
.
impl Deserialize for TableType
[src]
impl Deserialize for TableType
type 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