1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
pub use ;
/// crate seal of approval
pub
/// Identifier for tuple types
///
/// Usefull with generics to require tuples as input parameters
///
/// this trait is sealed and implemented by this library only
///
/// analog to <https://dev-doc.rust-lang.org/nightly/std/marker/trait.Tuple.html>
/// public definition of a tuple
/// usefull if one wants to require tuple only
/// Helper macro that counts the number of tokens passed to it.
///
/// # Examples
///
/// ```
/// use tuplify::*;
/// assert_eq!(count_tokens![a b c], 3);
/// assert_eq!(count_tokens![], 0);
/// ```