[][src]Crate gluon_vm

Crate which contain the virtual machine which executes gluon programs

Re-exports

pub extern crate gluon_base as base;

Modules

api

The marshalling api

channel
compiler
core
debug
dynamic
gc
internal

Internal types and functions exposed to the main gluon crate

lazy
macros

Module providing the building blocks to create macros and expand them.

primitives

Module containing functions for interacting with gluon's primitive types.

reference
stack
thread

The thread/vm type

types
vm

Macros

field_decl

Declares fields useable by the record macros

primitive

Creates a GluonFunction from a function implementing VMFunction

record

Macro that creates a record that can be passed to gluon

record_no_decl

Macro that creates a record that can be passed to gluon. Reuses already declared fields instead of generating unique ones.

record_p

Creates a pattern which matches on marshalled gluon records

record_type

Creates a Rust type compatible with the type of record_no_decl!

row_type

Structs

ExternModule
Variants

Enums

Error

Representation of all possible errors that can occur when interacting with the vm crate

Type Definitions

BoxFuture
ExternLoader
Result

Type returned from vm functions which may fail