Trait ToFunction
pub trait ToFunction<A, R> {
// Required method
fn into_luaref(self) -> i32;
}Expand description
A trait implemented by closures and [Function]s.
Required Methods§
fn into_luaref(self) -> i32
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".