[−][src]Struct splr::cdb::Clause
A representation of 'clause'
Fields
lits: Vec<Lit>
The literals in a clause.
rank: u16
A static clause evaluation criterion like LBD, NDD, or something.
search_from: usize
the index from which propagate
starts searching an un-falsified literal.
Trait Implementations
impl ClauseIF for Clause
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn iter(&self) -> Iter<'_, Lit>
[src]
pub fn len(&self) -> usize
[src]
impl Debug for Clause
[src]
impl Default for Clause
[src]
impl Display for Clause
[src]
impl Eq for Clause
[src]
impl FlagIF for Clause
[src]
pub fn is(&self, flag: Flag) -> bool
[src]
pub fn set(&mut self, f: Flag, b: bool)
[src]
pub fn turn_off(&mut self, flag: Flag)
[src]
pub fn turn_on(&mut self, flag: Flag)
[src]
impl Index<Range<usize>> for Clause
[src]
type Output = [Lit]
The returned type after indexing.
pub fn index(&self, r: Range<usize>) -> &[Lit]
[src]
impl Index<RangeFrom<usize>> for Clause
[src]
type Output = [Lit]
The returned type after indexing.
pub fn index(&self, r: RangeFrom<usize>) -> &[Lit]
[src]
impl Index<usize> for Clause
[src]
impl IndexMut<Range<usize>> for Clause
[src]
impl IndexMut<RangeFrom<usize>> for Clause
[src]
impl IndexMut<usize> for Clause
[src]
impl<'a> IntoIterator for &'a Clause
[src]
type Item = &'a Lit
The type of the elements being iterated over.
type IntoIter = Iter<'a, Lit>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> IntoIterator for &'a mut Clause
[src]
type Item = &'a Lit
The type of the elements being iterated over.
type IntoIter = Iter<'a, Lit>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> Self::IntoIter
[src]
impl Ord for Clause
[src]
pub fn cmp(&self, other: &Clause) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Clause> for Clause
[src]
pub fn eq(&self, other: &Clause) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<Clause> for Clause
[src]
Auto Trait Implementations
impl RefUnwindSafe for Clause
[src]
impl Send for Clause
[src]
impl Sync for Clause
[src]
impl Unpin for Clause
[src]
impl UnwindSafe for Clause
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,