Module lovm2_core::extend::prelude[][src]

Re-exports

pub use crate::code::CallableRef;
pub use crate::error::Lovm2Error;
pub use crate::error::Lovm2Result;
pub use crate::prelude::*;
pub use crate::vm::Vm;
pub use super::create_test_vm;

Macros

lovm2_module_init

Generates the module initializer (always required)

Structs

HashMap

A hash map implemented with quadratic probing and SIMD lookup.

Library

A loaded dynamic library.

Rc

A single-threaded reference-counting pointer. 'Rc' stands for 'Reference Counted'.

SharedObjectSlot

Contains a function name, imported by EXTERN_LOVM2_INITIALIZER.

Enums

Lovm2ErrorTy

Functions

box_value

Wrap the given value inside a Ref(_). Dict and List values will be wrapped deeply.

create_callable

Wrap a static function inside Callable.

Attribute Macros

lovm2_function

Makes the function available inside the module

lovm2_object

Makes the structure available inside the module