[][src]Trait runestick::FromValue

pub trait FromValue: 'static + Sized {
    fn from_value(value: Value) -> Result<Self, VmError>;
}

Trait for converting from a value.

Required methods

fn from_value(value: Value) -> Result<Self, VmError>

Try to convert to the given type, from the given value.

Loading content...

Implementations on Foreign Types

impl FromValue for ParseFloatError[src]

impl FromValue for ParseIntError[src]

impl FromValue for Rev<Iter>[src]

impl FromValue for Rev<Iter>[src]

impl<T> FromValue for HashMap<String, T> where
    T: FromValue
[src]

impl<T> FromValue for Option<T> where
    T: FromValue
[src]

impl FromValue for ()[src]

impl FromValue for u8[src]

impl FromValue for bool[src]

impl FromValue for char[src]

impl FromValue for i64[src]

impl FromValue for u32[src]

impl FromValue for u64[src]

impl FromValue for u128[src]

impl FromValue for usize[src]

impl FromValue for i8[src]

impl FromValue for i32[src]

impl FromValue for i128[src]

impl FromValue for isize[src]

impl FromValue for f64[src]

impl FromValue for f32[src]

impl FromValue for Error[src]

impl FromValue for Error[src]

impl<T, E> FromValue for Result<T, E> where
    T: FromValue,
    E: FromValue
[src]

impl FromValue for String[src]

impl FromValue for Box<str>[src]

impl<H, G, F, E, D, C, B, A> FromValue for (H, G, F, E, D, C, B, A) where
    H: FromValue,
    G: FromValue,
    F: FromValue,
    E: FromValue,
    D: FromValue,
    C: FromValue,
    B: FromValue,
    A: FromValue
[src]

impl<G, F, E, D, C, B, A> FromValue for (G, F, E, D, C, B, A) where
    G: FromValue,
    F: FromValue,
    E: FromValue,
    D: FromValue,
    C: FromValue,
    B: FromValue,
    A: FromValue
[src]

impl<F, E, D, C, B, A> FromValue for (F, E, D, C, B, A) where
    F: FromValue,
    E: FromValue,
    D: FromValue,
    C: FromValue,
    B: FromValue,
    A: FromValue
[src]

impl<E, D, C, B, A> FromValue for (E, D, C, B, A) where
    E: FromValue,
    D: FromValue,
    C: FromValue,
    B: FromValue,
    A: FromValue
[src]

impl<D, C, B, A> FromValue for (D, C, B, A) where
    D: FromValue,
    C: FromValue,
    B: FromValue,
    A: FromValue
[src]

impl<C, B, A> FromValue for (C, B, A) where
    C: FromValue,
    B: FromValue,
    A: FromValue
[src]

impl<B, A> FromValue for (B, A) where
    B: FromValue,
    A: FromValue
[src]

impl<A> FromValue for (A,) where
    A: FromValue
[src]

impl<T> FromValue for Vec<T> where
    T: FromValue
[src]

impl FromValue for Error[src]

Loading content...

Implementors

impl FromValue for GeneratorState[src]

impl FromValue for Value[src]

impl FromValue for runestick::modules::object::Iter[src]

impl FromValue for runestick::modules::vec::Iter[src]

impl FromValue for Bytes[src]

impl FromValue for Function[src]

impl FromValue for Future[src]

impl FromValue for Generator[src]

impl FromValue for OwnedRef<Function>[src]

impl FromValue for Shared<GeneratorState>[src]

impl FromValue for Shared<Function>[src]

impl FromValue for Shared<Future>[src]

impl FromValue for Shared<Generator>[src]

impl FromValue for Shared<Stream>[src]

impl FromValue for Stream[src]

impl<A> FromValue for VecTuple<(A,)> where
    A: FromValue
[src]

impl<B, A> FromValue for VecTuple<(B, A)> where
    B: FromValue,
    A: FromValue
[src]

impl<C, B, A> FromValue for VecTuple<(C, B, A)> where
    C: FromValue,
    B: FromValue,
    A: FromValue
[src]

impl<D, C, B, A> FromValue for VecTuple<(D, C, B, A)> where
    D: FromValue,
    C: FromValue,
    B: FromValue,
    A: FromValue
[src]

impl<E, D, C, B, A> FromValue for VecTuple<(E, D, C, B, A)> where
    E: FromValue,
    D: FromValue,
    C: FromValue,
    B: FromValue,
    A: FromValue
[src]

impl<F, E, D, C, B, A> FromValue for VecTuple<(F, E, D, C, B, A)> where
    F: FromValue,
    E: FromValue,
    D: FromValue,
    C: FromValue,
    B: FromValue,
    A: FromValue
[src]

impl<G, F, E, D, C, B, A> FromValue for VecTuple<(G, F, E, D, C, B, A)> where
    G: FromValue,
    F: FromValue,
    E: FromValue,
    D: FromValue,
    C: FromValue,
    B: FromValue,
    A: FromValue
[src]

impl<H, G, F, E, D, C, B, A> FromValue for VecTuple<(H, G, F, E, D, C, B, A)> where
    H: FromValue,
    G: FromValue,
    F: FromValue,
    E: FromValue,
    D: FromValue,
    C: FromValue,
    B: FromValue,
    A: FromValue
[src]

impl<T> FromValue for Object<T> where
    T: FromValue
[src]

Loading content...