pub struct UsableNodeRule { /* private fields */ }Expand description
Stops at nodes already solved in an earlier visit: their error and the bound they were solved under are both known. Always active.
Implementations§
Trait Implementations§
Source§impl Debug for UsableNodeRule
impl Debug for UsableNodeRule
Source§impl Default for UsableNodeRule
impl Default for UsableNodeRule
Source§impl Rule for UsableNodeRule
impl Rule for UsableNodeRule
Source§fn evaluate(&self, context: &RuleContext) -> RuleResult
fn evaluate(&self, context: &RuleContext) -> RuleResult
Decides whether the search continues below the node.
Source§fn description(&self) -> String
fn description(&self) -> String
A short human-readable name.
Source§fn is_relaxable(&self) -> bool
fn is_relaxable(&self) -> bool
Whether the rule restricts the search only temporarily. A search whose
pass was cut by a relaxable rule is not finished.
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Upcast used by
RuleManager::get_rule_mut.Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Mutable upcast used by
RuleManager::get_rule_mut.Source§fn deactivate(&mut self)
fn deactivate(&mut self)
Stops applying the rule.
Auto Trait Implementations§
impl Freeze for UsableNodeRule
impl RefUnwindSafe for UsableNodeRule
impl Send for UsableNodeRule
impl Sync for UsableNodeRule
impl Unpin for UsableNodeRule
impl UnsafeUnpin for UsableNodeRule
impl UnwindSafe for UsableNodeRule
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