Enum biodivine_lib_bdd::boolean_expression::BooleanExpression [−][src]
pub enum BooleanExpression {
Const(bool),
Variable(String),
Not(Box<BooleanExpression>),
And(Box<BooleanExpression>, Box<BooleanExpression>),
Or(Box<BooleanExpression>, Box<BooleanExpression>),
Xor(Box<BooleanExpression>, Box<BooleanExpression>),
Imp(Box<BooleanExpression>, Box<BooleanExpression>),
Iff(Box<BooleanExpression>, Box<BooleanExpression>),
}
Expand description
Recursive type for boolean expression tree.
Variants
Const(bool)
Tuple Fields of Const
0: bool
Variable(String)
Tuple Fields of Variable
0: String
Not(Box<BooleanExpression>)
Tuple Fields of Not
0: Box<BooleanExpression>
And(Box<BooleanExpression>, Box<BooleanExpression>)
Tuple Fields of And
0: Box<BooleanExpression>
1: Box<BooleanExpression>
Or(Box<BooleanExpression>, Box<BooleanExpression>)
Tuple Fields of Or
0: Box<BooleanExpression>
1: Box<BooleanExpression>
Xor(Box<BooleanExpression>, Box<BooleanExpression>)
Tuple Fields of Xor
0: Box<BooleanExpression>
1: Box<BooleanExpression>
Imp(Box<BooleanExpression>, Box<BooleanExpression>)
Tuple Fields of Imp
0: Box<BooleanExpression>
1: Box<BooleanExpression>
Iff(Box<BooleanExpression>, Box<BooleanExpression>)
Tuple Fields of Iff
0: Box<BooleanExpression>
1: Box<BooleanExpression>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BooleanExpression
impl Send for BooleanExpression
impl Sync for BooleanExpression
impl Unpin for BooleanExpression
impl UnwindSafe for BooleanExpression
Blanket Implementations
Mutably borrows from an owned value. Read more