[][src]Enum watson::WasmValue

pub enum WasmValue {
    I32(i32),
    I64(i64),
    F32(f32),
    F64(f64),
}

Variants

I32(i32)
I64(i64)
F32(f32)
F64(f64)

Implementations

impl WasmValue[src]

pub fn to_i32(&self) -> i32[src]

pub fn to_i64(&self) -> i64[src]

pub fn to_f32(&self) -> f32[src]

pub fn to_f64(&self) -> f64[src]

Trait Implementations

impl Clone for WasmValue[src]

impl Copy for WasmValue[src]

impl Debug for WasmValue[src]

impl<'de> Deserialize<'de> for WasmValue[src]

impl Serialize for WasmValue[src]

Auto Trait Implementations

impl Send for WasmValue

impl Sync for WasmValue

impl Unpin for WasmValue

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.