Crate rudeboy_derive

Source
Expand description

This crate provides derive and attr macros for use by the rudeboy crate. Please refer to it for documentation and usage information.

Attribute Macrosยง

  • Placed on a struct or enum definition; generates an impl of RudeboyMetamethods to add the specified metamethods to the exported user data.
  • Placed on an inherent impl block; generates an impl of RudeboyMethods to add the contained methods to the exported user data. Takes no parameters.
  • Generates an implementation of rlua::UserData for the tagged type definition or the type that matches a tagged impl block.