pub enum Condition {
Zero(usize),
Positive(usize),
}Expand description
A condition of a sketch Rule on the feature values of the state a
subproblem starts from. The usize is the feature’s index.
Boolean features are 0 (false) or 1 (true), so Zero reads as ¬p and
Positive as p.
Variants§
Trait Implementations§
impl Copy for Condition
impl Eq for Condition
impl StructuralPartialEq for Condition
Auto Trait Implementations§
impl Forget for Condition
impl Freeze for Condition
impl Move for Condition
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnsafeUnpin for Condition
impl UnwindSafe for Condition
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