pub trait LuaNativeFn<A>where
A: FromLuaMulti,{
type Output: IntoLuaMulti;
// Required method
fn call(&self, args: A) -> Self::Output;
}
Available on crate feature
mlua
only.Expand description
A trait for types that can be used as Lua functions.