Trait PartialEqIs

Source
pub trait PartialEqIs<Rhs: ?Sized = Self>: PartialEq<Rhs> {
    // Required methods
    spec fn is_eq(&self, other: &Rhs) -> bool;
    spec fn is_ne(&self, other: &Rhs) -> bool;
}

Required Methods§

Source

spec fn is_eq(&self, other: &Rhs) -> bool

Source

spec fn is_ne(&self, other: &Rhs) -> bool

Implementors§

Source§

impl<A: ?Sized + PartialEq<Rhs>, Rhs: ?Sized> PartialEqIs<Rhs> for A