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§
Sourcespec fn obeys_shr_spec() -> bool
spec fn obeys_shr_spec() -> 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.