Function gmod::lua::iterator

source · []
pub unsafe fn iterator<T: PushToLua, I: Iterator<Item = T>>(
    lua: State,
    iter: &mut I
)
Expand description

Pushes all elements in an iterator to a Lua table at the top of the stack.

You must create the table yourself