Function td_rlua::functions::function8

source ·
pub fn function8<Z, R, A, B, C, D, E, F, G, H>(
    f: Z
) -> Function<Z, (A, B, C, D, E, F, G, H), R>
where Z: FnMut(A, B, C, D, E, F, G, H) -> 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.