Trait PartialEqSpec

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

Required Methods§

Source

spec fn obeys_eq_spec() -> bool

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Rhs: ?Sized, VERUS_SPEC__A: PartialEq<Rhs> + ?Sized> PartialEqSpec<Rhs> for VERUS_SPEC__A