Trait Two

Source
pub trait Two<T1, T2>: One<T1> + Contains<T2> { }
Expand description

A set containing 2 types.

This should not be implemented manually.

For easy usage, see the macro Set.

Implementors§

Source§

impl<T1, T2, S> Two<T1, T2> for S
where S: One<T1> + Contains<T2> + ?Sized,