Module bevy_mod_scripting::lua::prelude::tealr::mlu
Expand description
traits and types specific to mlua
Modules
- this module holds some pre made types that can be used to create generics.
- High-level bindings to Lua
- Module containing functionality to do with user data proxies
Macros
- This macro creates a new type that acts as similar as possible to mlua::Value however, it acts as a generic type instead of being translated as
any
. - Creates a type that allows you to give names to the positional parameters. The names only show up in the documentation and definition files. Making them great to add just a bit more of documentation in the function signature itself
- Creates a new type that is a union of the types you gave.
Structs
- A typed wrapper around mlua::Function
- A newtype storing proxy userdata created via
mlua::Lua::create_proxy
. - Used to turn UserDataMethods into TealDataMethods.
Traits
- implement this to easily document what global instances are exposed to lua
- similar to mlua::FromLua. However, however going through this trait you promise that the conversion to a rust value prefers failing over converting/casting
- collects every instance that a type has
- used by the
mlua_send
feature - This is the teal version of UserData.
- The teal version of UserDataFields
- The teal version of UserDataMethods
Functions
- used to export instances to lua