Enum parity_wasm::elements::BlockType [−][src]
pub enum BlockType { Value(ValueType), NoResult, }
Block type which is basically ValueType
+ NoResult (to define blocks that have no return type)
Variants
Value(ValueType)
Value-type specified block type
NoResult
No specified block type
Trait Implementations
impl Clone for BlockType
[src]
impl Clone for BlockType
fn clone(&self) -> BlockType
[src]
fn clone(&self) -> BlockType
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 Copy for BlockType
[src]
impl Copy for BlockType
impl Debug for BlockType
[src]
impl Debug for BlockType
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 PartialEq for BlockType
[src]
impl PartialEq for BlockType
fn eq(&self, other: &BlockType) -> bool
[src]
fn eq(&self, other: &BlockType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BlockType) -> bool
[src]
fn ne(&self, other: &BlockType) -> bool
This method tests for !=
.
impl Deserialize for BlockType
[src]
impl Deserialize for BlockType
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 BlockType
[src]
impl Serialize for BlockType