[−][src]Struct splr::cdb::ClauseId
Clause identifier, or clause index, starting with one. Note: ids are re-used after 'garbage collection'.
Fields
ordinal: u32
a sequence number.
Implementations
impl ClauseId
[src]
Trait Implementations
impl ClauseIdIF for ClauseId
[src]
pub fn is_lifted_lit(self) -> bool
[src]
return true
if the clause is generated from a literal by Eliminator.
impl Clone for ClauseId
[src]
impl Copy for ClauseId
[src]
impl Debug for ClauseId
[src]
impl Default for ClauseId
[src]
pub fn default() -> Self
[src]
return the default empty clause, used in a reason slot or no conflict path.
impl Display for ClauseId
[src]
impl Eq for ClauseId
[src]
impl From<ClauseId> for Lit
[src]
impl From<Lit> for ClauseId
[src]
impl From<usize> for ClauseId
[src]
impl Index<&'_ ClauseId> for ClauseDB
[src]
type Output = Clause
The returned type after indexing.
pub fn index(&self, cid: &ClauseId) -> &Clause
[src]
impl Index<ClauseId> for ClauseDB
[src]
type Output = Clause
The returned type after indexing.
pub fn index(&self, cid: ClauseId) -> &Clause
[src]
impl IndexMut<&'_ ClauseId> for ClauseDB
[src]
impl IndexMut<ClauseId> for ClauseDB
[src]
impl Ord for ClauseId
[src]
pub fn cmp(&self, other: &ClauseId) -> 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<ClauseId> for ClauseId
[src]
impl PartialOrd<ClauseId> for ClauseId
[src]
pub fn partial_cmp(&self, other: &ClauseId) -> Option<Ordering>
[src]
pub fn lt(&self, other: &ClauseId) -> bool
[src]
pub fn le(&self, other: &ClauseId) -> bool
[src]
pub fn gt(&self, other: &ClauseId) -> bool
[src]
pub fn ge(&self, other: &ClauseId) -> bool
[src]
impl StructuralEq for ClauseId
[src]
impl StructuralPartialEq for ClauseId
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClauseId
[src]
impl Send for ClauseId
[src]
impl Sync for ClauseId
[src]
impl Unpin for ClauseId
[src]
impl UnwindSafe for ClauseId
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,