Skip to main content

auto_tuple

Attribute Macro auto_tuple 

Source
#[auto_tuple]
Expand description

Generates tuple helper traits for the annotated trait.

Arguments: an optional range of arities (default 2..=12) and an optional member selection (default: all methods, associated constants and types). Names and @all families form a union; -name, -[a, b] and -@all_types exclude members. An exclusion-only selection starts from all members.