Enum rlifesrc_lib::search::backjump::ConflReason
source · pub enum ConflReason<R: Rule> {
Rule(CellRef<R>),
Sym(CellRef<R>, CellRef<R>),
Front,
Deduce,
}
Expand description
Reasons for a conflict.
Variants§
Rule(CellRef<R>)
Conflict from the rule when constitifying another cell.
Sym(CellRef<R>, CellRef<R>)
Conflict from symmetry.
Front
Conflict from non-empty-front condition.
Deduce
Conflict from other conditions.
A general reason used as a fallback.
Implementations§
source§impl<R: Rule> ConflReason<R>
impl<R: Rule> ConflReason<R>
sourceconst fn should_analyze(&self) -> bool
const fn should_analyze(&self) -> bool
Whether this reason should be analyzed before retreating.
Trait Implementations§
source§impl<R: Rule> Clone for ConflReason<R>
impl<R: Rule> Clone for ConflReason<R>
source§impl<R: Rule> Debug for ConflReason<R>
impl<R: Rule> Debug for ConflReason<R>
source§impl<R: Rule> PartialEq for ConflReason<R>
impl<R: Rule> PartialEq for ConflReason<R>
impl<R: Rule> Copy for ConflReason<R>
impl<R: Rule> Eq for ConflReason<R>
Auto Trait Implementations§
impl<R> !RefUnwindSafe for ConflReason<R>
impl<R> !Send for ConflReason<R>
impl<R> !Sync for ConflReason<R>
impl<R> Unpin for ConflReason<R>
impl<R> !UnwindSafe for ConflReason<R>
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