rglua::lua

Function lua_getfield

Source
pub fn lua_getfield(l: LuaState, idx: c_int, key: LuaString)
Expand description

Pushes onto the stack the value t[k], where t is the value at idx.
As in Lua, this function may trigger a metamethod for the “index” event.