Type Definition mond::Function [] [src]

type Function = Option<unsafe extern "C" fn(_: *mut lua_State) -> c_int>;

Type for native functions that can be passed to Lua.

Trait Implementations

impl ToLua for Function
[src]

[src]

Pushes a value of type Self onto the stack of a Lua state.

impl FromLua for Function
[src]

[src]

Converts the value on top of the stack of a Lua state to a value of type Option<Self>. Read more