Struct luaext::types::number::LuaNumber [] [src]

pub struct LuaNumber { /* fields omitted */ }

Represents a floating-point number on the Lua Stack

Methods

impl LuaNumber
[src]

Create a new LuaNumber given an index

Get the value of this number

Trait Implementations

impl LuaStackable for LuaNumber
[src]

Get the position of this value on the stack

impl ToLua for LuaNumber
[src]

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

impl FromLua for LuaNumber
[src]

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