pub trait ExBitOrAssign<Rhs = Self> {
type ExternalTraitSpecificationFor: BitOrAssign<Rhs>;
// Required methods
spec fn obeys_bitor_assign_spec() -> bool;
spec fn bitor_assign_req(&self, rhs: Rhs) -> bool;
spec fn bitor_assign_spec(&self, rhs: Rhs) -> &Self;
exec fn bitor_assign(&mut self, rhs: Rhs);
}Required Associated Types§
type ExternalTraitSpecificationFor: BitOrAssign<Rhs>
Required Methods§
Sourcespec fn obeys_bitor_assign_spec() -> bool
spec fn obeys_bitor_assign_spec() -> bool
Sourcespec fn bitor_assign_req(&self, rhs: Rhs) -> bool
spec fn bitor_assign_req(&self, rhs: Rhs) -> bool
Sourcespec fn bitor_assign_spec(&self, rhs: Rhs) -> &Self
spec fn bitor_assign_spec(&self, rhs: Rhs) -> &Self
Sourceexec fn bitor_assign(&mut self, rhs: Rhs)
exec fn bitor_assign(&mut self, rhs: Rhs)
requires
self.bitor_assign_req(rhs),ensuresSelf::obeys_bitor_assign_spec() ==> &*final(self) == old(self).bitor_assign_spec(rhs),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.