Struct rlua::LuaString [] [src]

pub struct LuaString<'lua>(_);

Handle to an internal Lua string.

Unlike Rust strings, Lua strings may not be valid UTF-8.

Methods

impl<'lua> LuaString<'lua>
[src]

Get a &str slice if the Lua string is valid UTF-8.

Trait Implementations

impl<'lua> Clone for LuaString<'lua>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'lua> Debug for LuaString<'lua>
[src]

Formats the value using the given formatter.

impl<'lua> ToLua<'lua> for LuaString<'lua>
[src]

Performs the conversion.

impl<'lua> FromLua<'lua> for LuaString<'lua>
[src]

Performs the conversion.