Skip to main content

function4

Function function4 

Source
pub fn function4<F, A0, A1, A2, A3, R>(f: F) -> Function4<F, A0, A1, A2, A3, R>
where F: Fn(A0, A1, A2, A3) -> R + 'static, A0: LuaReadArg + 'static, A1: LuaReadArg + 'static, A2: LuaReadArg + 'static, A3: LuaReadArg + 'static, R: PushToLua + 'static,
Expand description

Wrap a Rust closure so it can be stored as a Lua global via Lua::set.