#[repr(u32)]pub enum LearnedLitType {
PreprocessSolved = 0,
Preprocess = 1,
Input = 2,
Solvable = 3,
ConstantProp = 4,
Internal = 5,
Unknown = 6,
Last = 7,
}Expand description
Types of learned literals.
Specifies categories of literals learned for the method Solver::getLearnedLiterals.
Note that a literal may conceptually belong to multiple categories. We classify literals based on the first criteria in this list that they meet.
Variants§
PreprocessSolved = 0
Preprocess = 1
Input = 2
Solvable = 3
ConstantProp = 4
Internal = 5
Unknown = 6
Last = 7
Trait Implementations§
Source§impl Clone for LearnedLitType
impl Clone for LearnedLitType
Source§fn clone(&self) -> LearnedLitType
fn clone(&self) -> LearnedLitType
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 LearnedLitType
impl Debug for LearnedLitType
Source§impl Hash for LearnedLitType
impl Hash for LearnedLitType
Source§impl PartialEq for LearnedLitType
impl PartialEq for LearnedLitType
impl Copy for LearnedLitType
impl Eq for LearnedLitType
impl StructuralPartialEq for LearnedLitType
Auto Trait Implementations§
impl Freeze for LearnedLitType
impl RefUnwindSafe for LearnedLitType
impl Send for LearnedLitType
impl Sync for LearnedLitType
impl Unpin for LearnedLitType
impl UnsafeUnpin for LearnedLitType
impl UnwindSafe for LearnedLitType
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