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.
Required Associated Types§
type Output: IntoLuaMulti
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".