cglue_trait_group!() { /* proc-macro */ }
Expand description

Define a CGlue trait group.

Arguments

  1. The name of the group.

  2. Mandatory traits for the group. Either a single trait name, or a braced list of traits.

  3. Optionally implemented traits for the group. Either a single trait name, or a braced list of traits.

  4. Optional block for external trait definitions. This block is needed when using non-standard external traits.