Crate bevy_mod_scripting_bindings

Crate bevy_mod_scripting_bindings 

Source
Expand description

Abstractions to help with creating bindings between bevy and scripting languages.

Re-exports§

pub use access_map::*;
pub use allocator::*;
pub use docgen::*;
pub use error::*;
pub use function::*;
pub use globals::*;
pub use query::*;
pub use reference::*;
pub use reflection_extensions::*;
pub use schedule::*;
pub use script_component::*;
pub use script_value::*;
pub use type_data::*;
pub use world::*;

Modules§

access_map
A map of access claims used to safely and dynamically access the world.
allocator
An allocator used to control the lifetime of allocations
docgen
Documentation generation for scripting languages.
error
Error types for the bindings
function
Abstractions to do with dynamic script functions
globals
Contains abstractions for exposing “globals” to scripts, in a language-agnostic way.
query
Utilities for querying the world.
reference
Motivation
reflection_extensions
Various utility functions for working with reflection types.
schedule
Dynamic scheduling from scripts
script_component
Everything necessary to support scripts registering their own components
script_value
This module contains the ScriptValue enum which is used to pass values between scripting languages and Rust.
type_data
Contains various Reflect type data we use in BMS.
world
Motivation

Macros§

downcast_into_value
Downcasts a reference into a value of a given type or returns an error if the downcast fails.
match_by_type
a utility for matching types by their std::any::TypeId