pub trait BitXorSpec<Rhs = Self>: BitXor<Rhs> {
// Required methods
spec fn obeys_bitxor_spec() -> bool;
spec fn bitxor_req(self, rhs: Rhs) -> bool
where Self: Sized;
spec fn bitxor_spec(self, rhs: Rhs) -> Self::Output
where Self: Sized;
}
Required Methods§
Sourcespec fn obeys_bitxor_spec() -> bool
spec fn obeys_bitxor_spec() -> bool
Sourcespec fn bitxor_req(self, rhs: Rhs) -> boolwhere
Self: Sized,
spec fn bitxor_req(self, rhs: Rhs) -> boolwhere
Self: Sized,
Sourcespec fn bitxor_spec(self, rhs: Rhs) -> Self::Outputwhere
Self: Sized,
spec fn bitxor_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.