Derive Macro tealr::RluaUserData [−][src]
#[derive(RluaUserData)]
Expand description
Implements rlua::UserData and tealr::TypeBody
It wraps the rlua::UserDataMethods into tealr::rlu::UserDataWrapper
and then passes it to tealr::rlu::TealData::add_methods
.
Type body is implemented in a similar way, where it uses the tealr::TealData
implementation to get the types