Trait ShrSpec

Source
pub trait ShrSpec<Rhs = Self>: Shr<Rhs> {
    // Required methods
    spec fn obeys_shr_spec() -> bool;
    spec fn shr_req(self, rhs: Rhs) -> bool
       where Self: Sized;
    spec fn shr_spec(self, rhs: Rhs) -> Self::Output
       where Self: Sized;
}

Required Methods§

Source

spec fn obeys_shr_spec() -> bool

Source

spec fn shr_req(self, rhs: Rhs) -> bool
where Self: Sized,

Source

spec fn shr_spec(self, rhs: Rhs) -> Self::Output
where Self: Sized,

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, VERUS_SPEC__A: Shr<Rhs> + ?Sized> ShrSpec<Rhs> for VERUS_SPEC__A