pub enum SolverState {
Configuring,
Input,
Sat,
Unsat,
Unknown,
}Expand description
States that the solver can be in.
Variants§
Configuring
Configuration of the solver must be done in this state, before any clauses are added
Input
Input state, while adding clauses.
Sat
The query was found satisfiable.
Unsat
The query was found unsatisfiable.
Unknown
Solving was terminated before a conclusion was reached
Trait Implementations§
Source§impl Clone for SolverState
impl Clone for SolverState
Source§fn clone(&self) -> SolverState
fn clone(&self) -> SolverState
Returns a duplicate of the value. Read more
1.0.0 · 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 SolverState
impl Debug for SolverState
Source§impl Display for SolverState
impl Display for SolverState
Source§impl PartialEq for SolverState
impl PartialEq for SolverState
impl Copy for SolverState
impl Eq for SolverState
impl StructuralPartialEq for SolverState
Auto Trait Implementations§
impl Freeze for SolverState
impl RefUnwindSafe for SolverState
impl Send for SolverState
impl Sync for SolverState
impl Unpin for SolverState
impl UnwindSafe for SolverState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more