Struct luaext::types::integer::LuaInteger [] [src]

pub struct LuaInteger { /* fields omitted */ }

Represents an integer on the Lua Stack

Methods

impl LuaInteger
[src]

Create a new LuaInteger given an index

Get the value of this integer

Trait Implementations

impl LuaStackable for LuaInteger
[src]

Get the position of this value on the stack

impl ToLua for LuaInteger
[src]

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

impl FromLua for LuaInteger
[src]

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