Crate dynamite[][src]

Dynamite is a language-agnostic scripting system for the Rust programming language. Dynamite makes it easy to integrate scripting languages into your Rust program and is special in the way that it orchestrates communication not only between the host program and the scripting languages, but also allows each scripting language to interact with data in the other scripting languages as well.

Dynamite is not currently usable, but is being developed as a component for the Arsenal game engine.

Structs

DataLayout

A type memory layout

Erased

A type used to represent an untyped pointer

FFIObj

A ref-counted pointer that can be sent over FFI

FFIObj_Layout
FunctionDefinition

the definition for a script type's method

LanguageAdapter

Wrapper for LanguageAdapterCApi that makes the use of the functions more convenient.

LanguageAdapterCApi

The C API implemented by language adapters

LanguageAdapterInitArgs

C Layout

LanguageAdapterInitArgs_Layout
StructDefinition

The information necessary to define a component including the component ID and the memory layout.

VTable

VTable used to keep track of script type bindings

Enums

DataType

The type of component

Primitive

A primitive type

ScriptType

A script-loaded type

Traits

HasDataLayout

Type Definitions

ScriptApi

A registry of scripted types mapping their unique module path to the type definition.

TypePath

The path to a scripted type, i.e. the "module" path such as "mygame::physics::RigidBody".