[][src]Enum parity_wasm::elements::BlockType

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 Copy for BlockType[src]

impl Debug for BlockType[src]

impl Deserialize for BlockType[src]

type Error = Error

Serialization error produced by deserialization routine.

impl Eq for BlockType[src]

impl Hash for BlockType[src]

impl PartialEq<BlockType> for BlockType[src]

impl Serialize for BlockType[src]

type Error = Error

Serialization error produced by serialization routine.

impl StructuralEq for BlockType[src]

impl StructuralPartialEq for BlockType[src]

Auto Trait Implementations

impl RefUnwindSafe for BlockType

impl Send for BlockType

impl Sync for BlockType

impl Unpin for BlockType

impl UnwindSafe for BlockType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.