tlua::ffi

Function lua_rawseti

Source
pub unsafe extern "C" fn lua_rawseti(
    l: *mut lua_State,
    index: c_int,
    n: c_int,
)
Expand description

Does the equivalent of t[n] = v, where t is the value at the given valid index and v is the value at the top of the stack. [-1, +0, m]

This function pops the value from the stack. The assignment is raw; that is, it does not invoke metamethods.