tuple_traits/lib.rs
1#![doc = include_str!("../README.md")]
2
3mod append;
4mod cons;
5mod contains;
6
7pub use self::{
8 append::Append,
9 cons::Cons,
10 contains::{Contains, Here, There},
11};
12
13/// Run the provided macro against the maximum size tuple.
14///
15/// If longer tuples are required, this is the place to change it.
16macro_rules! tuple_list {
17 ($macro:ident) => {
18 $macro!(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16);
19 };
20}
21
22pub(crate) use tuple_list;