[][src]Struct gluon_vm::ExternModule

pub struct ExternModule {
    pub metadata: Metadata,
    pub value: RootedValue<RootedThread>,
    pub typ: ArcType,
}

Fields

metadata: Metadatavalue: RootedValue<RootedThread>typ: ArcType

Methods

impl ExternModule[src]

pub fn new<'vm, T>(thread: &'vm Thread, value: T) -> Result<ExternModule> where
    T: VmType + Pushable<'vm> + Send + Sync
[src]

pub fn with_metadata<'vm, T>(
    thread: &'vm Thread,
    value: T,
    metadata: Metadata
) -> Result<ExternModule> where
    T: VmType + Pushable<'vm> + Send + Sync
[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<Choices> CoproductSubsetter for Choices[src]

type Remainder = Choices

impl<Source> Sculptor for Source[src]

type Remainder = Source

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

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