Crate gluon_vm

Source
Expand description

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
serialization
stack
thread
The thread/vm type
types
vm

Macros§

construct_enum_gc
construct_gc
field_decl
Declares fields useable by the record macros
impl_getable_simple
Implements the proxy methods, letting only from_value be specified
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§

ExternLoader
ExternModule
Variants

Enums§

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

Type Aliases§

BoxFuture
Result
Type returned from vm functions which may fail