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]
fn clone(&self) -> BlockType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for BlockType
[src]
impl PartialEq for BlockType
[src]
fn eq(&self, __arg_0: &BlockType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BlockType) -> bool
[src]
This method tests for !=
.
impl Debug for BlockType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Deserialize for BlockType
[src]
type Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>
[src]
Deserialize type from serial i/o