Module lua::userdata[−][src]

Traits to work with user defined Types from lua

Structs

MetaTable

Type used to register userdata metamethods from the LuaUserData trait.

Enums

MetaMethod

Metamethods. All metamethods are supported except for __gc, which is implemented by the Drop trat.

Traits

FromLua

Trait to read userdatums from Lua

FromLuaMut

Trait to read userdatums from Lua that allow mutation

UserData

Type to implement Lua userdata, which is an arbitrary block of memory managed by Lua