pub trait Logical: Expression<Output = bool> {
// Provided methods
fn and<R: Expression<Output = bool>>(self, rhs: R) -> AndExpr<Self, R> { ... }
fn or<R: Expression<Output = bool>>(self, rhs: R) -> OrExpr<Self, R> { ... }
fn not(self) -> NotExpr<Self> { ... }
}Expand description
Trait for logical operations
Provided Methods§
fn and<R: Expression<Output = bool>>(self, rhs: R) -> AndExpr<Self, R>
fn or<R: Expression<Output = bool>>(self, rhs: R) -> OrExpr<Self, R>
fn not(self) -> NotExpr<Self>
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.