Expand description
This crate implements the Lua scripting engine for RTK that defines how users can implement RTK systems for their own languages.
Macros§
- impl_
enum_ into_ lua - Implements
IntoLua
for enums by mapping each variant to a Lua table formed like{ variant_name, variant_data }
- impl_
into_ lua - Implements
IntoLua
for a struct.
Structs§
- Attribute
- An attribute in the source code.
- Closure
Type Value - A closure definition itself. The args are just a struct ultimately
- Enum
Type Value - Enum
Type Value Variant - Function
Call - Function
Type Value - Location
- Method
Call - Method
Call Query - A query for method calls matching a specific path. This can be used, for example, to look for axum routes
- RtkLua
- Struct
Type Value - Struct
Type Value Field - Trait
Impl
Enums§
- Either
- The enum
Either
with variantsLeft
andRight
is a general purpose sum type with two cases. - RtkRustc
Driver Version - The rustc driver version this script is requesting. This enum MUST remain stable. Do not change or remove any existing, committed values to this. You can only add more.
- Type
Value - Value