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
ScriptValueenum which is used to pass values between scripting languages and Rust. - type_
data - Contains various
Reflecttype 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