Module bevy_mod_scripting::api
source · Modules
- This library provides implementations of
Mutex
,RwLock
,Condvar
andOnce
that are smaller, faster and more flexible than those in the Rust standard library. It also provides aReentrantMutex
type.
Macros
- A convenience macro which derives a lotta things to make your type work in all supported/enabled scripting languages, and provide static typing where possible.
- like create_bevy_mod_scripting_lua::tealr_union but translates to
any
in the lua declaration file, a fill in to allow multiple userdata types - Implements :tealr::TypeName, tealr::TypeBody and mlua::Userdata based on non-generic single token type name implementing TealData
Structs
- A pointer wrapper with some extra safety information about mutability.
- A value representing a type which has no special UserData implementation, It exposes the much less convenient reflect interface of the underlying type.
- A reference to a rust type available from some script language. References can be either to rust or script managed values (created either on the bevy or script side). but also to any subfield of those values (All pointed to values must support
reflect
). Each reference holds a reflection path from the root.
Enums
- The base of a reflect path, i.e. the top-level object or source. Reflections paths are always relative to some reflect base
- Stores the path of reflection + sub reflection from a root reflect reference.
Traits
- A version of index for returning values instead of references