Struct gluon_vm::ExternModule [−][src]
pub struct ExternModule { pub metadata: Metadata, pub value: RootedValue<RootedThread>, pub typ: ArcType, }
Fields
metadata: Metadata
value: RootedValue<RootedThread>
typ: ArcType
Methods
impl ExternModule
[src]
impl ExternModule
pub fn new<'vm, T>(thread: &'vm Thread, value: T) -> Result<ExternModule> where
T: VmType + Pushable<'vm> + Send + Sync,
[src]
pub fn new<'vm, T>(thread: &'vm Thread, value: T) -> Result<ExternModule> where
T: VmType + Pushable<'vm> + Send + Sync,
pub fn with_metadata<'vm, T>(
thread: &'vm Thread,
value: T,
metadata: Metadata
) -> 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,
Auto Trait Implementations
impl Send for ExternModule
impl Send for ExternModule
impl Sync for ExternModule
impl Sync for ExternModule