Function mlua_serde::to_value[][src]

pub fn to_value<'lua, T: Serialize>(
    lua: &'lua Lua,
    t: T
) -> Result<Value<'lua>, Error>