Expand description
Main implementation for type conversion between lua and rust
Traits
- Trait for types that can be taken from the Lua stack
- Types which can be converted from values passed from lua, or returned results from lua function invocation
- Trait for (closure)types that can be binded as C function or as method in metatable
- Trait for types that can be pushed onto the stack of a Lua
- Types which can be pushed onto lua stack, as returned multiple values to lua function, or as passed multiple arguments to lua function
Functions
- __gc⚠
- Converts a rust closure to lua C function
- Converts a rust closure to lua C function, for module creation purpose