Expand description
Type-level boolean operations.
Re-exports§
pub use types::boolean::*;
Traits§
- BoolAnd
- Boolean
And
. Use asAnd<X, Y>
or<X as BoolAnd<Y>>::Output
. - Bool
IfThen - Boolean
IfThen
. Use asIfThen<X, Y>
or<X as BoolIfThen<Y>>::Output
. As a logical proposition, this is equivalent to “ifX
, thenY
”. - Bool
Only If - Boolean
OnlyIf
. Use asOnlyIf<X, Y>
or<X as BoolOnlyIf<Y>>::Output
. As a logical proposition, this is equivalent to “Y
only ifX
”. - BoolOr
- Boolean
Or
. Use asOr<X, Y>
or<X as BoolOr<Y>>::Output
. - BoolXor
- Boolean
Xor
. Use asXor<X, Y>
or<X as BoolXor<Y>>::Output
.