pub fn to_lua_string(
state: &mut LuaState,
idx: i32,
) -> Result<Vec<u8>, LuaError>Expand description
Convert the value at idx to a byte-string representation (using __tostring
if available) and push it onto the stack.
Tables/functions/userdata/threads print as "kind: 0x?" ā a fixed
placeholder rather than a real address, since this API surface does not
yet expose a stable per-value identifier analogous to Cās lua_topointer.