[][src]Trait gluon_vm::api::Getable

pub trait Getable<'vm, 'value>: Sized {
    fn from_value(vm: &'vm Thread, value: Variants<'value>) -> Self;
}

Trait which allows rust values to be retrieved from the virtual machine

Required methods

fn from_value(vm: &'vm Thread, value: Variants<'value>) -> Self

Loading content...

Implementations on Foreign Types

impl<'vm, 'value, T> Getable<'vm, 'value> for &'value T where
    T: Userdata
[src]

impl<'vm, 'value> Getable<'vm, 'value> for &'value str[src]

impl<'vm, 'value> Getable<'vm, 'value> for &'value Path[src]

impl<'vm, 'value> Getable<'vm, 'value> for ()[src]

impl<'vm, 'value> Getable<'vm, 'value> for u8[src]

impl<'vm, 'value> Getable<'vm, 'value> for i16[src]

impl<'vm, 'value> Getable<'vm, 'value> for i32[src]

impl<'vm, 'value> Getable<'vm, 'value> for i64[src]

impl<'vm, 'value> Getable<'vm, 'value> for u16[src]

impl<'vm, 'value> Getable<'vm, 'value> for u32[src]

impl<'vm, 'value> Getable<'vm, 'value> for u64[src]

impl<'vm, 'value> Getable<'vm, 'value> for usize[src]

impl<'vm, 'value> Getable<'vm, 'value> for isize[src]

impl<'vm, 'value> Getable<'vm, 'value> for f64[src]

impl<'vm, 'value> Getable<'vm, 'value> for bool[src]

impl<'vm, 'value> Getable<'vm, 'value> for Ordering[src]

impl<'vm, 'value> Getable<'vm, 'value> for String[src]

impl<'vm, 'value> Getable<'vm, 'value> for char[src]

impl<'vm, 'value> Getable<'vm, 'value> for PathBuf[src]

impl<'vm, 'value> Getable<'vm, 'value> for OsString[src]

impl<'vm, 'value, T: Copy + ArrayRepr> Getable<'vm, 'value> for &'value [T][src]

impl<'vm, 'value, T> Getable<'vm, 'value> for Vec<T> where
    T: Getable<'vm, 'value>, 
[src]

impl<'vm, 'value, T: Userdata> Getable<'vm, 'value> for *const T[src]

impl<'vm, 'value, T: Getable<'vm, 'value>> Getable<'vm, 'value> for Box<T>[src]

impl<'vm, 'value, K, V> Getable<'vm, 'value> for BTreeMap<K, V> where
    K: Getable<'vm, 'value> + Ord,
    V: Getable<'vm, 'value>, 
[src]

impl<'vm, 'value, T: Getable<'vm, 'value>> Getable<'vm, 'value> for Option<T>[src]

impl<'vm, 'value, T: Getable<'vm, 'value>, E: Getable<'vm, 'value>> Getable<'vm, 'value> for StdResult<T, E>[src]

impl<'vm, 'value, A: Getable<'vm, 'value>, B: Getable<'vm, 'value>, C: Getable<'vm, 'value>, D: Getable<'vm, 'value>, E: Getable<'vm, 'value>, F: Getable<'vm, 'value>, G: Getable<'vm, 'value>, H: Getable<'vm, 'value>, I: Getable<'vm, 'value>, J: Getable<'vm, 'value>, K: Getable<'vm, 'value>, L: Getable<'vm, 'value>> Getable<'vm, 'value> for (A, B, C, D, E, F, G, H, I, J, K, L)[src]

impl<'vm, 'value, B: Getable<'vm, 'value>, C: Getable<'vm, 'value>, D: Getable<'vm, 'value>, E: Getable<'vm, 'value>, F: Getable<'vm, 'value>, G: Getable<'vm, 'value>, H: Getable<'vm, 'value>, I: Getable<'vm, 'value>, J: Getable<'vm, 'value>, K: Getable<'vm, 'value>, L: Getable<'vm, 'value>> Getable<'vm, 'value> for (B, C, D, E, F, G, H, I, J, K, L)[src]

impl<'vm, 'value, C: Getable<'vm, 'value>, D: Getable<'vm, 'value>, E: Getable<'vm, 'value>, F: Getable<'vm, 'value>, G: Getable<'vm, 'value>, H: Getable<'vm, 'value>, I: Getable<'vm, 'value>, J: Getable<'vm, 'value>, K: Getable<'vm, 'value>, L: Getable<'vm, 'value>> Getable<'vm, 'value> for (C, D, E, F, G, H, I, J, K, L)[src]

impl<'vm, 'value, D: Getable<'vm, 'value>, E: Getable<'vm, 'value>, F: Getable<'vm, 'value>, G: Getable<'vm, 'value>, H: Getable<'vm, 'value>, I: Getable<'vm, 'value>, J: Getable<'vm, 'value>, K: Getable<'vm, 'value>, L: Getable<'vm, 'value>> Getable<'vm, 'value> for (D, E, F, G, H, I, J, K, L)[src]

impl<'vm, 'value, E: Getable<'vm, 'value>, F: Getable<'vm, 'value>, G: Getable<'vm, 'value>, H: Getable<'vm, 'value>, I: Getable<'vm, 'value>, J: Getable<'vm, 'value>, K: Getable<'vm, 'value>, L: Getable<'vm, 'value>> Getable<'vm, 'value> for (E, F, G, H, I, J, K, L)[src]

impl<'vm, 'value, F: Getable<'vm, 'value>, G: Getable<'vm, 'value>, H: Getable<'vm, 'value>, I: Getable<'vm, 'value>, J: Getable<'vm, 'value>, K: Getable<'vm, 'value>, L: Getable<'vm, 'value>> Getable<'vm, 'value> for (F, G, H, I, J, K, L)[src]

impl<'vm, 'value, G: Getable<'vm, 'value>, H: Getable<'vm, 'value>, I: Getable<'vm, 'value>, J: Getable<'vm, 'value>, K: Getable<'vm, 'value>, L: Getable<'vm, 'value>> Getable<'vm, 'value> for (G, H, I, J, K, L)[src]

impl<'vm, 'value, H: Getable<'vm, 'value>, I: Getable<'vm, 'value>, J: Getable<'vm, 'value>, K: Getable<'vm, 'value>, L: Getable<'vm, 'value>> Getable<'vm, 'value> for (H, I, J, K, L)[src]

impl<'vm, 'value, I: Getable<'vm, 'value>, J: Getable<'vm, 'value>, K: Getable<'vm, 'value>, L: Getable<'vm, 'value>> Getable<'vm, 'value> for (I, J, K, L)[src]

impl<'vm, 'value, J: Getable<'vm, 'value>, K: Getable<'vm, 'value>, L: Getable<'vm, 'value>> Getable<'vm, 'value> for (J, K, L)[src]

impl<'vm, 'value, K: Getable<'vm, 'value>, L: Getable<'vm, 'value>> Getable<'vm, 'value> for (K, L)[src]

Loading content...

Implementors

impl<'__value, '__vm> Getable<'__vm, '__value> for Value[src]

impl<'__value, '__vm> Getable<'__vm, '__value> for JsonString[src]

impl<'vm, 'value> Getable<'vm, 'value> for ValueRef<'value>[src]

impl<'vm, 'value> Getable<'vm, 'value> for JsonValue[src]

impl<'vm, 'value> Getable<'vm, 'value> for RootedThread[src]

impl<'vm, 'value, F> Getable<'vm, 'value> for Function<&'vm Thread, F>[src]

impl<'vm, 'value, F> Getable<'vm, 'value> for Function<RootedThread, F>[src]

impl<'vm, 'value, T> Getable<'vm, 'value> for De<T> where
    T: VmType,
    T: DeserializeOwned
[src]

impl<'vm, 'value, T> Getable<'vm, 'value> for Collect<GetableIter<'vm, 'value, T>> where
    T: Getable<'vm, 'value>, 
[src]

impl<'vm, 'value, T> Getable<'vm, 'value> for UserdataValue<T> where
    T: Userdata + Clone
[src]

impl<'vm, 'value, T> Getable<'vm, 'value> for WithVM<'vm, T> where
    T: Getable<'vm, 'value>, 
[src]

impl<'vm, 'value, T> Getable<'vm, 'value> for RootedValue<T> where
    T: Deref<Target = Thread> + VmRoot<'vm>, 
[src]

impl<'vm, 'value, T, U> Getable<'vm, 'value> for Record<T, U> where
    T: Default,
    U: GetableFieldList<'vm, 'value>, 
[src]

impl<'vm, 'value, T, V> Getable<'vm, 'value> for OpaqueValue<T, V> where
    V: ?Sized,
    T: VmRoot<'vm>, 
[src]

impl<'vm, 'value, T: Getable<'vm, 'value>> Getable<'vm, 'value> for IO<T>[src]

impl<'vm, 'value, V> Getable<'vm, 'value> for Opaque<Variants<'value>, V> where
    V: ?Sized
[src]

Loading content...