Struct cop::lean::Contrapositive
source · pub struct Contrapositive<'t, L, V> {
pub contra: Contrapositive<&'t L>,
pub vars: Option<V>,
}
Expand description
Clausal contrapositive for a literal lit
with some inferred information about it.
This is usually produced by super::Matrix::contrapositives
.
Fields§
§contra: Contrapositive<&'t L>
the actual contrapositive, i.e. the clause containing lit
minus lit
vars: Option<V>
the maximum variable of the clause
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'t, L, V> RefUnwindSafe for Contrapositive<'t, L, V>where L: RefUnwindSafe, V: RefUnwindSafe,
impl<'t, L, V> Send for Contrapositive<'t, L, V>where L: Sync, V: Send,
impl<'t, L, V> Sync for Contrapositive<'t, L, V>where L: Sync, V: Sync,
impl<'t, L, V> Unpin for Contrapositive<'t, L, V>where V: Unpin,
impl<'t, L, V> UnwindSafe for Contrapositive<'t, L, V>where L: RefUnwindSafe, V: UnwindSafe,
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