#[derive(UserData)]
{
// Attributes available to this derive:
#[tealr]
}
Expand description
Implements UserData and TypeBody
It wraps the mlua::UserDataMethods into UserDataWrapper
and then passes it to crate::TealData::add_methods
.
Type body is implemented in a similar way, where it uses the TealData implementation to get the types