pub trait BitAndSpec<Rhs = Self>: BitAnd<Rhs> {
// Required methods
spec fn obeys_bitand_spec() -> bool;
spec fn bitand_req(self, rhs: Rhs) -> bool
where Self: Sized;
spec fn bitand_spec(self, rhs: Rhs) -> Self::Output
where Self: Sized;
}
Required Methods§
Sourcespec fn obeys_bitand_spec() -> bool
spec fn obeys_bitand_spec() -> bool
Sourcespec fn bitand_req(self, rhs: Rhs) -> boolwhere
Self: Sized,
spec fn bitand_req(self, rhs: Rhs) -> boolwhere
Self: Sized,
Sourcespec fn bitand_spec(self, rhs: Rhs) -> Self::Outputwhere
Self: Sized,
spec fn bitand_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.