Trait luao3::tostring::LuaToString
source · [−]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
Provided methods
fn to_lua_string(&self, lua: &Lua) -> Result<String>
fn to_lua_string(&self, lua: &Lua) -> Result<String>
Convert this value into a string