pub fn function3<F, A0, A1, A2, R>(f: F) -> Function3<F, A0, A1, A2, R>where
F: Fn(A0, A1, A2) -> R + 'static,
A0: LuaReadArg + 'static,
A1: LuaReadArg + 'static,
A2: LuaReadArg + 'static,
R: PushToLua + 'static,Expand description
Wrap a Rust closure so it can be stored as a Lua global via Lua::set.