Trait IsEqual
typenum::type_operators
pub trait IsEqual<Rhs = Self> { type Output: Bit; fn is_equal(self, rhs: Rhs) -> Self::Output; }
A type operator that returns True if Self == Rhs, otherwise returns False.
True
Self == Rhs
False
type Output: Bit
The type representing either True or False
fn is_equal(self, rhs: Rhs) -> Self::Output
Method returning True or False.
impl<A, B> IsEqual<B> for A where A: Cmp<B> + IsEqualPrivate<B, Compare<A, B>>,
type Output = <A as IsEqualPrivate<B, Compare<A, B>>>::Output
fn is_equal(self, _: B) -> Self::Output