pub trait BitOrSpec<Rhs = Self>: BitOr<Rhs> {
// Required methods
spec fn obeys_bitor_spec() -> bool;
spec fn bitor_req(self, rhs: Rhs) -> bool
where Self: Sized;
spec fn bitor_spec(self, rhs: Rhs) -> Self::Output
where Self: Sized;
}
Required Methods§
Sourcespec fn obeys_bitor_spec() -> bool
spec fn obeys_bitor_spec() -> bool
Sourcespec fn bitor_spec(self, rhs: Rhs) -> Self::Outputwhere
Self: Sized,
spec fn bitor_spec(self, rhs: Rhs) -> Self::Outputwhere
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.