Trait rlua::ToLuaMulti [] [src]

pub trait ToLuaMulti<'a> {
    fn to_lua_multi(self, lua: &'a Lua) -> LuaResult<LuaMultiValue<'a>>;
}

Trait for types convertible to any number of Lua values.

This is a generalization of ToLua, allowing any number of resulting Lua values instead of just one. Any type that implements ToLua will automatically implement this trait.

Required Methods

Performs the conversion.

Implementors