Struct rlua::LuaVariadic [] [src]

pub struct LuaVariadic<T>(pub Vec<T>);

Can be used to pass variadic values to or receive variadic values from lua, where the type of the values is all the same and the number of values is defined at runtime. This can be included in an hlist when unpacking, but must be the final entry, and will consume the rest of the parameters given.

Trait Implementations

impl<'lua, T: ToLua<'lua>> ToLuaMulti<'lua> for LuaVariadic<T>
[src]

impl<'lua, T: FromLua<'lua>> FromLuaMulti<'lua> for LuaVariadic<T>
[src]