Crate rtk_lua

Source
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.
ClosureTypeValue
A closure definition itself. The args are just a struct ultimately
EnumTypeValue
EnumTypeValueVariant
FunctionCall
FunctionTypeValue
Location
MethodCall
MethodCallQuery
A query for method calls matching a specific path. This can be used, for example, to look for axum routes
RtkLua
StructTypeValue
StructTypeValueField
TraitImpl

Enums§

Either
The enum Either with variants Left and Right is a general purpose sum type with two cases.
RtkRustcDriverVersion
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.
TypeValue
Value

Traits§

RtkLuaScriptExecutor