pub enum SearchCost {
Decided {
sat: bool,
nodes: usize,
},
Exceeded {
budget: usize,
},
}Expand description
The measured cost of a branch search: either it decided within the node budget, or the search blew past it (the exponential explosion, captured rather than hung).
Variants§
Trait Implementations§
Source§impl Clone for SearchCost
impl Clone for SearchCost
Source§fn clone(&self) -> SearchCost
fn clone(&self) -> SearchCost
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 moreSource§impl Debug for SearchCost
impl Debug for SearchCost
Source§impl PartialEq for SearchCost
impl PartialEq for SearchCost
Source§fn eq(&self, other: &SearchCost) -> bool
fn eq(&self, other: &SearchCost) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SearchCost
impl Eq for SearchCost
impl StructuralPartialEq for SearchCost
Auto Trait Implementations§
impl Freeze for SearchCost
impl RefUnwindSafe for SearchCost
impl Send for SearchCost
impl Sync for SearchCost
impl Unpin for SearchCost
impl UnsafeUnpin for SearchCost
impl UnwindSafe for SearchCost
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