pub struct RuleWatchNode {
pub rule: usize,
pub watch1: i64,
pub watch2: i64,
}Fields§
§rule: usize§watch1: i64§watch2: i64Implementations§
Source§impl RuleWatchNode
impl RuleWatchNode
pub fn new(rules: &RuleSet, rule: usize) -> RuleWatchNode
Sourcepub fn watch2_on_highest(&mut self, rules: &RuleSet, decisions: &Decisions)
pub fn watch2_on_highest(&mut self, rules: &RuleSet, decisions: &Decisions)
watch2OnHighest.
pub fn other_watch(&self, literal: i64) -> i64
pub fn move_watch(&mut self, from: i64, to: i64)
Trait Implementations§
Source§impl Clone for RuleWatchNode
impl Clone for RuleWatchNode
Source§fn clone(&self) -> RuleWatchNode
fn clone(&self) -> RuleWatchNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RuleWatchNode
impl RefUnwindSafe for RuleWatchNode
impl Send for RuleWatchNode
impl Sync for RuleWatchNode
impl Unpin for RuleWatchNode
impl UnsafeUnpin for RuleWatchNode
impl UnwindSafe for RuleWatchNode
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