pub trait ShrAssignSpec<Rhs = Self>: ShrAssign<Rhs> {
// Required methods
spec fn obeys_shr_assign_spec() -> bool;
spec fn shr_assign_req(&self, rhs: Rhs) -> bool;
spec fn shr_assign_spec(&self, rhs: Rhs) -> &Self;
}Required Methods§
Sourcespec fn obeys_shr_assign_spec() -> bool
spec fn obeys_shr_assign_spec() -> bool
Sourcespec fn shr_assign_req(&self, rhs: Rhs) -> bool
spec fn shr_assign_req(&self, rhs: Rhs) -> bool
Sourcespec fn shr_assign_spec(&self, rhs: Rhs) -> &Self
spec fn shr_assign_spec(&self, rhs: Rhs) -> &Self
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.