pub enum SolveResult {
Sat(Vec<bool>),
Unsat,
}Expand description
The verdict of Solver::solve.
Variants§
Sat(Vec<bool>)
Satisfiable, with a full model over 0..num_vars (true/false per variable).
Unsat
Unsatisfiable.
Trait Implementations§
Source§impl Clone for SolveResult
impl Clone for SolveResult
Source§fn clone(&self) -> SolveResult
fn clone(&self) -> SolveResult
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 SolveResult
impl Debug for SolveResult
Source§impl PartialEq for SolveResult
impl PartialEq for SolveResult
Source§fn eq(&self, other: &SolveResult) -> bool
fn eq(&self, other: &SolveResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SolveResult
impl StructuralPartialEq for SolveResult
Auto Trait Implementations§
impl Freeze for SolveResult
impl RefUnwindSafe for SolveResult
impl Send for SolveResult
impl Sync for SolveResult
impl Unpin for SolveResult
impl UnsafeUnpin for SolveResult
impl UnwindSafe for SolveResult
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