pub trait IntoLuaArgs {
// Required method
fn into_lua_args(self, vm: &mut Vm) -> Vec<Value>;
}Expand description
Convert a tuple of typed values into the &[Value] shape
Vm::call_value expects. Implemented for () + tuples of
IntoValue up to arity 6.
Required Methods§
Sourcefn into_lua_args(self, vm: &mut Vm) -> Vec<Value>
fn into_lua_args(self, vm: &mut Vm) -> Vec<Value>
Encode self (a tuple of IntoValue implementors) as a flat
argument list ready for LuaFunction::call.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".