Struct luaext::types::boolean::LuaBool
[−]
[src]
pub struct LuaBool { /* fields omitted */ }Represents a boolean value on the Lua stack
Methods
impl LuaBool[src]
fn new(i: Index) -> LuaBool
Create a new LuaBool given an index
fn get(&self, context: &mut Context) -> bool
Get the value of this boolean
Trait Implementations
impl LuaStackable for LuaBool[src]
fn get_pos(&self) -> Index
Get the position of this value on the stack
impl ToLua for LuaBool[src]
fn to_lua(&self, state: &mut State)
Pushes a value of type Self onto the stack of a Lua state.