Struct td_rlua::functions::Function
[−]
[src]
pub struct Function<F, P, R> { // some fields omitted }
Opaque type containing a Rust function or closure.
Trait Implementations
impl<Z, R> FunctionExt<()> for Function<Z, (), R> where Z: FnMut() -> R
[src]
impl<Z, R> LuaPush for Function<Z, (), R> where Z: FnMut() -> R, R: LuaPush + 'static
[src]
fn push_to_lua(self, lua: *mut lua_State) -> i32
Pushes the value on the top of the stack. Read more
impl<Z, R, A> FunctionExt<(A,)> for Function<Z, (A,), R> where Z: FnMut(A) -> R
[src]
impl<Z, R, A: 'static> LuaPush for Function<Z, (A,), R> where Z: FnMut(A) -> R, (A,): LuaRead, R: LuaPush + 'static
[src]
fn push_to_lua(self, lua: *mut lua_State) -> i32
Pushes the value on the top of the stack. Read more
impl<Z, R, A, B> FunctionExt<(A, B)> for Function<Z, (A, B), R> where Z: FnMut(A, B) -> R
[src]
impl<Z, R, A: 'static, B: 'static> LuaPush for Function<Z, (A, B), R> where Z: FnMut(A, B) -> R, (A, B): LuaRead, R: LuaPush + 'static
[src]
fn push_to_lua(self, lua: *mut lua_State) -> i32
Pushes the value on the top of the stack. Read more
impl<Z, R, A, B, C> FunctionExt<(A, B, C)> for Function<Z, (A, B, C), R> where Z: FnMut(A, B, C) -> R
[src]
impl<Z, R, A: 'static, B: 'static, C: 'static> LuaPush for Function<Z, (A, B, C), R> where Z: FnMut(A, B, C) -> R, (A, B, C): LuaRead, R: LuaPush + 'static
[src]
fn push_to_lua(self, lua: *mut lua_State) -> i32
Pushes the value on the top of the stack. Read more
impl<Z, R, A, B, C, D> FunctionExt<(A, B, C, D)> for Function<Z, (A, B, C, D), R> where Z: FnMut(A, B, C, D) -> R
[src]
impl<Z, R, A: 'static, B: 'static, C: 'static, D: 'static> LuaPush for Function<Z, (A, B, C, D), R> where Z: FnMut(A, B, C, D) -> R, (A, B, C, D): LuaRead, R: LuaPush + 'static
[src]
fn push_to_lua(self, lua: *mut lua_State) -> i32
Pushes the value on the top of the stack. Read more
impl<Z, R, A, B, C, D, E> FunctionExt<(A, B, C, D, E)> for Function<Z, (A, B, C, D, E), R> where Z: FnMut(A, B, C, D, E) -> R
[src]
impl<Z, R, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static> LuaPush for Function<Z, (A, B, C, D, E), R> where Z: FnMut(A, B, C, D, E) -> R, (A, B, C, D, E): LuaRead, R: LuaPush + 'static
[src]
fn push_to_lua(self, lua: *mut lua_State) -> i32
Pushes the value on the top of the stack. Read more
impl<Z, R, A, B, C, D, E, F> FunctionExt<(A, B, C, D, E, F)> for Function<Z, (A, B, C, D, E, F), R> where Z: FnMut(A, B, C, D, E, F) -> R
[src]
impl<Z, R, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static> LuaPush for Function<Z, (A, B, C, D, E, F), R> where Z: FnMut(A, B, C, D, E, F) -> R, (A, B, C, D, E, F): LuaRead, R: LuaPush + 'static
[src]
fn push_to_lua(self, lua: *mut lua_State) -> i32
Pushes the value on the top of the stack. Read more
impl<Z, R, A, B, C, D, E, F, G> FunctionExt<(A, B, C, D, E, F, G)> for Function<Z, (A, B, C, D, E, F, G), R> where Z: FnMut(A, B, C, D, E, F, G) -> R
[src]
impl<Z, R, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static> LuaPush for Function<Z, (A, B, C, D, E, F, G), R> where Z: FnMut(A, B, C, D, E, F, G) -> R, (A, B, C, D, E, F, G): LuaRead, R: LuaPush + 'static
[src]
fn push_to_lua(self, lua: *mut lua_State) -> i32
Pushes the value on the top of the stack. Read more
impl<Z, R, A, B, C, D, E, F, G, H> FunctionExt<(A, B, C, D, E, F, G, H)> for Function<Z, (A, B, C, D, E, F, G, H), R> where Z: FnMut(A, B, C, D, E, F, G, H) -> R
[src]
impl<Z, R, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static> LuaPush for Function<Z, (A, B, C, D, E, F, G, H), R> where Z: FnMut(A, B, C, D, E, F, G, H) -> R, (A, B, C, D, E, F, G, H): LuaRead, R: LuaPush + 'static
[src]
fn push_to_lua(self, lua: *mut lua_State) -> i32
Pushes the value on the top of the stack. Read more
impl<Z, R, A, B, C, D, E, F, G, H, I> FunctionExt<(A, B, C, D, E, F, G, H, I)> for Function<Z, (A, B, C, D, E, F, G, H, I), R> where Z: FnMut(A, B, C, D, E, F, G, H, I) -> R
[src]
impl<Z, R, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static> LuaPush for Function<Z, (A, B, C, D, E, F, G, H, I), R> where Z: FnMut(A, B, C, D, E, F, G, H, I) -> R, (A, B, C, D, E, F, G, H, I): LuaRead, R: LuaPush + 'static
[src]
fn push_to_lua(self, lua: *mut lua_State) -> i32
Pushes the value on the top of the stack. Read more
impl<Z, R, A, B, C, D, E, F, G, H, I, J> FunctionExt<(A, B, C, D, E, F, G, H, I, J)> for Function<Z, (A, B, C, D, E, F, G, H, I, J), R> where Z: FnMut(A, B, C, D, E, F, G, H, I, J) -> R
[src]
impl<Z, R, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static> LuaPush for Function<Z, (A, B, C, D, E, F, G, H, I, J), R> where Z: FnMut(A, B, C, D, E, F, G, H, I, J) -> R, (A, B, C, D, E, F, G, H, I, J): LuaRead, R: LuaPush + 'static
[src]
fn push_to_lua(self, lua: *mut lua_State) -> i32
Pushes the value on the top of the stack. Read more