[−][src]Trait runestick::ToValue
Trait for converting types into values.
Required methods
fn to_value(self) -> Result<Value, ValueError>
Convert into a value.
Implementations on Foreign Types
impl ToValue for ParseFloatError
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for ParseIntError
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for Rev<Iter>
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for Rev<Iter>
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<T> ToValue for HashMap<String, T> where
T: ToValue,
[src]
T: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<T> ToValue for Option<T> where
T: ToValue,
[src]
T: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for ()
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for u8
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for bool
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for char
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for u32
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for u64
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for u128
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for usize
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for i8
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for i32
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for i64
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for i128
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for isize
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for f64
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for f32
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for Error
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for Error
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<T> ToValue for Result<T, Panic> where
T: ToValue,
[src]
T: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<T> ToValue for Result<T, ValueError> where
T: ToValue,
[src]
T: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<T> ToValue for Result<T, VmError> where
T: ToValue,
[src]
T: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<T, E> ToValue for Result<T, E> where
T: ToValue,
E: ToValue,
[src]
T: ToValue,
E: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for String
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for Box<str>
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<H, G, F, E, D, C, B, A> ToValue for (H, G, F, E, D, C, B, A) where
H: ToValue,
G: ToValue,
F: ToValue,
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
[src]
H: ToValue,
G: ToValue,
F: ToValue,
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<G, F, E, D, C, B, A> ToValue for (G, F, E, D, C, B, A) where
G: ToValue,
F: ToValue,
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
[src]
G: ToValue,
F: ToValue,
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<F, E, D, C, B, A> ToValue for (F, E, D, C, B, A) where
F: ToValue,
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
[src]
F: ToValue,
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<E, D, C, B, A> ToValue for (E, D, C, B, A) where
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
[src]
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<D, C, B, A> ToValue for (D, C, B, A) where
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
[src]
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<C, B, A> ToValue for (C, B, A) where
C: ToValue,
B: ToValue,
A: ToValue,
[src]
C: ToValue,
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<B, A> ToValue for (B, A) where
B: ToValue,
A: ToValue,
[src]
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<A> ToValue for (A,) where
A: ToValue,
[src]
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<T> ToValue for Vec<T> where
T: ToValue,
[src]
T: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for Error
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
Implementors
impl ToValue for GeneratorState
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for Value
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for runestick::packages::object::Iter
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for runestick::packages::vec::Iter
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for Bytes
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for FnPtr
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for Future
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for Generator
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl ToValue for Shared<FnPtr>
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<'_> ToValue for &'_ Value
[src]
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<A> ToValue for VecTuple<(A,)> where
A: ToValue,
[src]
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<B, A> ToValue for VecTuple<(B, A)> where
B: ToValue,
A: ToValue,
[src]
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<C, B, A> ToValue for VecTuple<(C, B, A)> where
C: ToValue,
B: ToValue,
A: ToValue,
[src]
C: ToValue,
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<D, C, B, A> ToValue for VecTuple<(D, C, B, A)> where
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
[src]
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<E, D, C, B, A> ToValue for VecTuple<(E, D, C, B, A)> where
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
[src]
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<F, E, D, C, B, A> ToValue for VecTuple<(F, E, D, C, B, A)> where
F: ToValue,
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
[src]
F: ToValue,
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<G, F, E, D, C, B, A> ToValue for VecTuple<(G, F, E, D, C, B, A)> where
G: ToValue,
F: ToValue,
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
[src]
G: ToValue,
F: ToValue,
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<H, G, F, E, D, C, B, A> ToValue for VecTuple<(H, G, F, E, D, C, B, A)> where
H: ToValue,
G: ToValue,
F: ToValue,
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
[src]
H: ToValue,
G: ToValue,
F: ToValue,
E: ToValue,
D: ToValue,
C: ToValue,
B: ToValue,
A: ToValue,
fn to_value(self) -> Result<Value, ValueError>
[src]
impl<T> ToValue for Object<T> where
T: ToValue,
[src]
T: ToValue,