pub enum LogicalOp {
And,
Or,
Coalesce,
}Expand description
A logical operator, normalized across languages.
The adapter is responsible for folding a run of like operators into a single
Node::Logical (e.g. a && b && c is one Logical with three operands);
the engine counts one cognitive point per Logical node.
Variants§
Trait Implementations§
impl Copy for LogicalOp
impl Eq for LogicalOp
impl StructuralPartialEq for LogicalOp
Auto Trait Implementations§
impl Freeze for LogicalOp
impl RefUnwindSafe for LogicalOp
impl Send for LogicalOp
impl Sync for LogicalOp
impl Unpin for LogicalOp
impl UnsafeUnpin for LogicalOp
impl UnwindSafe for LogicalOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more