[][src]Struct gluon_vm::api::function::TypedBytecode

pub struct TypedBytecode<T> { /* fields omitted */ }

Implementations

impl<T> TypedBytecode<T>[src]

pub fn new(
    name: &str,
    args: VmIndex,
    instructions: Vec<Instruction>
) -> TypedBytecode<T> where
    T: VmType
[src]

Trait Implementations

impl<'vm, T: VmType> Pushable<'vm> for TypedBytecode<T>[src]

impl<T: VmType> VmType for TypedBytecode<T>[src]

type Type = T::Type

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

Auto Trait Implementations

impl<T> RefUnwindSafe for TypedBytecode<T> where
    T: RefUnwindSafe

impl<T> Send for TypedBytecode<T> where
    T: Send

impl<T> Sync for TypedBytecode<T> where
    T: Sync

impl<T> Unpin for TypedBytecode<T> where
    T: Unpin

impl<T> UnwindSafe for TypedBytecode<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any

impl<Id> AsId<Id> for Id where
    Id: ?Sized
[src]

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.