[][src]Struct gluon_vm::api::WithVM

pub struct WithVM<'vm, T> {
    pub vm: &'vm Thread,
    pub value: T,
}

Wrapper type which passes acts as the type T but also passes the VM to the called function

Fields

vm: &'vm Threadvalue: T

Trait Implementations

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

type Proxy = T::Proxy

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

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

type Type = T::Type

A version of Self which implements Any allowing a TypeId to be retrieved

Auto Trait Implementations

impl<'vm, T> !RefUnwindSafe for WithVM<'vm, T>

impl<'vm, T> Send for WithVM<'vm, T> where
    T: Send

impl<'vm, T> Sync for WithVM<'vm, T> where
    T: Sync

impl<'vm, T> Unpin for WithVM<'vm, T> where
    T: Unpin

impl<'vm, T> !UnwindSafe for WithVM<'vm, T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<'vm, T> AsyncPushable<'vm> for T where
    T: Pushable<'vm>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'_, T> Captures<'_> for T[src]

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastArc for T where
    T: Downcast + Send + Sync
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<D, T> FromPtr<D> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 
[src]

impl<'vm, T> Pushable<'vm> for T where
    T: Userdata
[src]

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

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.