pub enum Expr<V> {
Var(V),
Not(Box<Expr<V>>),
Or(Box<Expr<V>>, Box<Expr<V>>),
And(Box<Expr<V>>, Box<Expr<V>>),
}Expand description
A boolean expression consisting of boolean operators and variables.
Variants§
Var(V)
A boolean variable.
Not(Box<Expr<V>>)
A negated expression.
Or(Box<Expr<V>>, Box<Expr<V>>)
A disjunction of expressions.
And(Box<Expr<V>>, Box<Expr<V>>)
A conjunction of expressions.
Implementations§
Trait Implementations§
Source§impl<V> From<Expr<V>> for CnfHashSet<V>
impl<V> From<Expr<V>> for CnfHashSet<V>
Source§impl<V> From<Expr<V>> for DnfHashSet<V>
impl<V> From<Expr<V>> for DnfHashSet<V>
impl<V: Eq> Eq for Expr<V>
Auto Trait Implementations§
impl<V> Freeze for Expr<V>where
V: Freeze,
impl<V> RefUnwindSafe for Expr<V>where
V: RefUnwindSafe,
impl<V> Send for Expr<V>where
V: Send,
impl<V> Sync for Expr<V>where
V: Sync,
impl<V> Unpin for Expr<V>where
V: Unpin,
impl<V> UnwindSafe for Expr<V>where
V: UnwindSafe,
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