Function td_rlua::functions::function3

source ·
pub fn function3<Z, R, A, B, C>(f: Z) -> Function<Z, (A, B, C), R>
where Z: FnMut(A, B, C) -> R,
Expand description

Wraps a type that implements FnMut so that it can be used by hlua.

This is only needed because of a limitation in Rust’s inferrence system.