pub enum ClauseType {
Learnt = 0,
Static = 1,
Volatile = 2,
VolatileStatic = 3,
}Expand description
Enumeration of clause types determining the lifetime of a clause.
Clauses in the solver are either cleaned up based on a configurable deletion policy or at the end of a solving step. The values of this enumeration determine if a clause is subject to one of the above deletion strategies.
Variants§
Learnt = 0
The clause is subject to the solvers deletion policy
Static = 1
The clause is not subject to the solvers deletion policy
Volatile = 2
Like Learnt but the clause is deleted after a solving step
VolatileStatic = 3
Like Static but the clause is deleted after a solving step
Trait Implementations§
Source§impl Clone for ClauseType
impl Clone for ClauseType
Source§fn clone(&self) -> ClauseType
fn clone(&self) -> ClauseType
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 ClauseType
impl Debug for ClauseType
impl Copy for ClauseType
Auto Trait Implementations§
impl Freeze for ClauseType
impl RefUnwindSafe for ClauseType
impl Send for ClauseType
impl Sync for ClauseType
impl Unpin for ClauseType
impl UnwindSafe for ClauseType
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