[][src]Attribute Macro rudeboy_derive::user_data

#[user_data]

Generates an implementation of rlua::UserData for the tagged type definition or the type that matches a tagged impl block.

Takes zero or more of the following parameters. If given none, then the exported type will have no methods or metamethods available.

Note: if you wish to add additional (meta)methods beyond the ones generated by rudeboy, do not use this macro and instead manually call the appropriate trait methods in your implementation of rlua::UserData