pub struct Lit {
pub atom: AtomId,
pub negated: bool,
}Expand description
A literal as it appears inside an Impossible clause: an atom, optionally
negated. negated = true means the literal is NOT atom.
Fields§
§atom: AtomIdInterned id of the atom (also its SAT variable number).
negated: booltrue means this literal is NOT atom inside the clause.
Trait Implementations§
impl Copy for Lit
impl Eq for Lit
impl StructuralPartialEq for Lit
Auto Trait Implementations§
impl Freeze for Lit
impl RefUnwindSafe for Lit
impl Send for Lit
impl Sync for Lit
impl Unpin for Lit
impl UnsafeUnpin for Lit
impl UnwindSafe for Lit
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