Traits
Append
Append a type to a tuple.
!;
assert_type_eq_all
Cons
Represent a tuple as a cons (ish) value, with the first value on the left, and the rest of the tuple on the right.
!;
assert_impl_all
Contains
A trait that will only be implement for a given target if it is present within a given type.
;
;
;
// Works!
requires_c;
// Compiler error: `C` does not appear within `(A, B)`
// requires_c((A, B));
Example
Check out ./examples/buffer-flags.rs
for a full example!