Expand description
The marshalling api
Re-exports
pub use self::record::Record;pub use crate::thread::ActiveThread;pub use self::function::*;
Modules
- This module requires Gluon to be built with the
serdefeature. - Module containing types which represent generic variables in gluon’s type system
- Rust -> Gluon value conversion via the
serde::Serializetrait - Rust type to gluon type conversion
Structs
- Stores values of variants and records.
- Wrapper around a
Futurewhich can be used as a return value to let the virtual machine know that it must resolve theFutureto receive the value. - Marker type representing a hole
- Type implementing both
PushableandGetableof values ofVregardless of wheterVimplements the traits. The actual value,Vis only accessible directly either byDerefif it isUserdataor a string or by theto_valuemethod if it implementsGetable. - Newtype which can be used to push types implementating
AsRef - Wrapper which extracts a
Userdatavalue from gluon - Wrapper type which passes acts as the type
Tbut also passes theVMto the called function
Enums
- Type representing gluon’s IO type
Traits
- Trait which allows a possibly asynchronous rust value to be pushed to the virtual machine
- Trait which allows rust values to be retrieved from the virtual machine
- Trait which allows a rust value to be pushed to the virtual machine
- Trait which maps a type in rust to a type in gluon