pub trait LuaToString {
    fn to_lua_string_with_buf(&self, lua: &Lua, buf: &mut String) -> Result<()>;

    fn to_lua_string(&self, lua: &Lua) -> Result<String> { ... }
}
Expand description

Converts a mlua::Value into a string representation

This is useful for debugging

Required methods

Conver this value into a string, writing into the specified buffer

Provided methods

Convert this value into a string

Implementations on Foreign Types

Implementors