| 1 |
/// Treats tuples as a list which can be appended to. e.g. |
| 2 |
/// `(a,).tuple_append(b) == (a, b)` |
| 3 |
pub trait TupleAppend<T> { |
| 4 |
type Output; |
| 5 |
|
| 6 |
fn tuple_append(self, right: T) -> Self::Output; |
| 7 |
} |
| 8 |
|
| 9 |
pub trait TupleSize { |
| 10 |
const SIZE: usize; |
| 11 |
} |