Crate variadics_please

Source

Macros§

all_tuples
Helper macro to generate tuple pyramids. Useful to generate scaffolding to work around Rust lacking variadics. Invoking all_tuples!(impl_foo, start, end, P, Q, ..) invokes impl_foo providing ident tuples through arity start..end. If you require the length of the tuple, see all_tuples_with_size!.
all_tuples_enumerated
A variant of all_tuples! that enumerates its output.
all_tuples_with_size
Helper macro to generate tuple pyramids with their length. Useful to generate scaffolding to work around Rust lacking variadics. Invoking all_tuples_with_size!(impl_foo, start, end, P, Q, ..) invokes impl_foo providing ident tuples through arity start..end preceded by their length. If you don’t require the length of the tuple, see all_tuples!.