Struct luaext::types::string::LuaString
[−]
[src]
pub struct LuaString { /* fields omitted */ }Represents a String on the Lua Stack
Methods
impl LuaString[src]
fn new(i: Index) -> LuaString
Create a new String given an index
fn get<'a>(&self, context: &'a mut Context) -> &'a str
Get the value of this string
Trait Implementations
impl LuaStackable for LuaString[src]
fn get_pos(&self) -> Index
Get the position of this value on the stack
impl ToLua for LuaString[src]
fn to_lua(&self, state: &mut State)
Pushes a value of type Self onto the stack of a Lua state.