pub trait ToLua {
// Required method
fn to_lua(&self, state: &mut State);
}
Expand description
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.