Struct rlua::LuaTable [] [src]

pub struct LuaTable<'lua>(_);

Handle to an an internal lua table

Methods

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

Shorthand for checking whether get(key) is nil

Set a field in the table, without invoking metamethods

Get a field in the table, without invoking metamethods

Equivalent to the result of the lua '#' operator.

Equivalent to the result of the lua '#' operator, without invoking the __len metamethod.

Loop over each key, value pair in the table

Loop over the table, strictly interpreting the table as an array, and fail if it is not a proper lua array.

Collect all the pairs in the table into a Vec

Collect all the values in an array-like table into a Vec

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.

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

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