Enum sp_wasm_interface::ValueType[][src]

pub enum ValueType {
    I32,
    I64,
    F32,
    F64,
}

Value types supported by Substrate on the boundary between host/Wasm.

Variants

I32

An i32 value type.

I64

An i64 value type.

F32

An f32 value type.

F64

An f64 value type.

Trait Implementations

impl Clone for ValueType[src]

impl Copy for ValueType[src]

impl Debug for ValueType[src]

impl Eq for ValueType[src]

impl From<ValueType> for ValueType[src]

impl PartialEq<ValueType> for ValueType[src]

impl StructuralEq for ValueType[src]

impl StructuralPartialEq for ValueType[src]

impl TryFrom<u8> for ValueType[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for ValueType

impl Send for ValueType

impl Sync for ValueType

impl Unpin for ValueType

impl UnwindSafe for ValueType

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> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe
[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.