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
serde
feature. - Module containing types which represent generic variables in gluon’s type system
- Rust -> Gluon value conversion via the
serde::Serialize
trait - Rust type to gluon type conversion
Structs
- Stores values of variants and records.
- Wrapper around a
Future
which can be used as a return value to let the virtual machine know that it must resolve theFuture
to receive the value. - Marker type representing a hole
- Type implementing both
Pushable
andGetable
of values ofV
regardless of wheterV
implements the traits. The actual value,V
is only accessible directly either byDeref
if it isUserdata
or a string or by theto_value
method if it implementsGetable
. - Newtype which can be used to push types implementating
AsRef
- Wrapper which extracts a
Userdata
value from gluon - Wrapper type which passes acts as the type
T
but also passes theVM
to 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