Trait lua::userdata::UserData[−][src]

pub trait UserData {
    const METATABLE: &'static str;
    fn register(meta: &mut MetaTable) { ... }
}

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

Associated Constants

Name of the metatable

Provided Methods

Called only once to register the metamethods of the type.

Implementors