Trait PartialOrdSpec

Source
pub trait PartialOrdSpec<Rhs: ?Sized = Self>: PartialEq<Rhs> + PartialOrd<Rhs> {
    // Required methods
    spec fn obeys_partial_cmp_spec() -> bool;
    spec fn partial_cmp_spec(&self, other: &Rhs) -> Option<Ordering>;
}

Required Methods§

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: PartialOrd<Rhs> + ?Sized> PartialOrdSpec<Rhs> for VERUS_SPEC__A