pub trait LogicalOp<T: Any> {
// Required methods
fn and<U: Logical>(self, other: U) -> FnLogical2<T, U>;
fn or<U: Logical>(self, other: U) -> FnLogical2<T, U>;
fn xor<U: Logical>(self, other: U) -> FnLogical2<T, U>;
}Expand description
Operations on boolean-like values.
Required Methods§
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.