Type Alias lua_Integer

Source
pub type lua_Integer = int64_t;
Expand description

A Lua integer, usually equivalent to i64.

Trait Implementations§

Source§

impl FromLua for Integer

Source§

fn from_lua(state: &mut State, index: Index) -> Option<Integer>

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

impl ToLua for Integer

Source§

fn to_lua(&self, state: &mut State)

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