Trait tealr::mlu::TealData [−][src]
pub trait TealData: Sized { fn add_methods<'lua, T: TealDataMethods<'lua, Self>>(_methods: &mut T) { ... } }
Expand description
This is the teal version of UserData.
Provided methods
fn add_methods<'lua, T: TealDataMethods<'lua, Self>>(_methods: &mut T)
[src]
fn add_methods<'lua, T: TealDataMethods<'lua, Self>>(_methods: &mut T)
[src]same as UserData::add_methods. Refer to its documentation on how to use it.
only difference is that it takes a TealDataMethods, which is the teal version of UserDataMethods