Module logical

Module logical 

Source
Expand description

Logical boolean functions.

This module provides logical operations for boolean scalars, vectors, and datums:

  • Simple operations (binary): AND, OR, AND NOT. These propagate nulls.
  • Kleene operations (kleene): AND KLEENE, OR KLEENE. These use Kleene three-valued logic where false AND null = false and true OR null = true.
  • Unary operations (not): NOT.

Structs§

And
Marker type for the AND operation.
AndNot
Marker type for the AND NOT operation.
KleeneAnd
Marker type for the Kleene AND operation.
KleeneOr
Marker type for the Kleene OR operation.
Or
Marker type for the OR operation.

Traits§

KleeneBinaryOp
Trait for Kleene three-valued logical binary operations.
LogicalAnd
Trait for performing logical AND operations.
LogicalAndKleene
Trait for performing logical AND KLEENE operations.
LogicalAndNot
Trait for performing logical AND NOT operations.
LogicalBinaryOp
Trait for simple logical binary operations.
LogicalNot
Trait for performing logical NOT operations.
LogicalOp
(Bool, Bool) -> Bool compute function.
LogicalOr
Trait for performing logical OR operations.
LogicalOrKleene
Trait for performing logical OR KLEENE operations.