trait-bounds 0.2.1

Trait bounds primitives using generic_const_exprs/generic_const_args
1
2
3
4
5
6
7
use crate::ne;

/// `true` if `This` and `Other` types are equal, `false` otherwise
pub type const EQ<This, Other>: bool = const {ne::<This, Other>()};

/// `true` if `This` and `Other` types are not equal, `false` otherwise
pub type const NE<This, Other>: bool = const {ne::<This, Other>()};