pub trait LuaNativeFnMut<A: FromLuaMulti> {
type Output: IntoLuaMulti;
// Required method
fn call(&mut self, args: A) -> Self::Output;
}Expand description
A trait for types with mutable state that can be used as Lua functions.
pub trait LuaNativeFnMut<A: FromLuaMulti> {
type Output: IntoLuaMulti;
// Required method
fn call(&mut self, args: A) -> Self::Output;
}A trait for types with mutable state that can be used as Lua functions.