Struct luaext::types::boolean::LuaBool [] [src]

pub struct LuaBool { /* fields omitted */ }

Represents a boolean value on the Lua stack

Methods

impl LuaBool
[src]

Create a new LuaBool given an index

Get the value of this boolean

Trait Implementations

impl LuaStackable for LuaBool
[src]

Get the position of this value on the stack

impl ToLua for LuaBool
[src]

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

impl FromLua for LuaBool
[src]

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