Struct LuaNil
luaext::types::nil
pub struct LuaNil { /* fields omitted */ }
Represents a nil value on the Lua stack
impl LuaNil
fn new(i: Index) -> LuaNil
Create a new LuaNil given an index
impl LuaStackable for LuaNil
fn get_pos(&self) -> Index
Get the position of this value on the stack
impl ToLua for LuaNil
fn to_lua(&self, state: &mut State)
Pushes a value of type Self onto the stack of a Lua state.
Self
impl FromLua for LuaNil
fn from_lua(state: &mut State, index: Index) -> Option<LuaNil>
Converts the value on top of the stack of a Lua state to a value of type Option<Self>. Read more
Option<Self>