Trait mond::ToLua
[−]
[src]
pub trait ToLua { fn to_lua(&self, state: &mut State); }
Trait for types that can be pushed onto the stack of a Lua state.
It is important that implementors of this trait ensure that to_lua
behaves like one of the lua_push*
functions for consistency.