pub enum Effect {
Positive(usize),
Zero(usize),
Increase(usize),
Decrease(usize),
Any(usize),
}Expand description
An effect of a sketch Rule: how a feature may change between the
start state of a subproblem and its subgoal. The usize is the
feature’s index. Features no effect mentions must keep their value.
Variants§
Positive(usize)
The feature ends above 0 (p).
Zero(usize)
The feature ends at 0 (¬p).
Increase(usize)
The feature ends higher than it started (n↑).
Decrease(usize)
The feature ends lower than it started (n↓).
Any(usize)
The feature may take any value (p?, n?).
Trait Implementations§
impl Copy for Effect
impl Eq for Effect
impl StructuralPartialEq for Effect
Auto Trait Implementations§
impl Forget for Effect
impl Freeze for Effect
impl Move for Effect
impl RefUnwindSafe for Effect
impl Send for Effect
impl Sync for Effect
impl Unpin for Effect
impl UnsafeUnpin for Effect
impl UnwindSafe for Effect
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