[][src]Struct ipasir::InvalidLitVal

pub struct InvalidLitVal(pub c_int);

Encountered when trying to create a literal with an invalid value.

Note

Invalid values are the following

  • 0: Because it cannot have positive or negative polarity and because it is explicitely forbidden by the IPASIR specification
  • INT_MIN: Because it cannot have positive polarity because -INT_MIN == INT_MIN.

Trait Implementations

impl Clone for InvalidLitVal[src]

impl Debug for InvalidLitVal[src]

impl Display for InvalidLitVal[src]

impl Eq for InvalidLitVal[src]

impl Error for InvalidLitVal[src]

impl From<InvalidLitVal> for SolverError[src]

impl PartialEq<InvalidLitVal> for InvalidLitVal[src]

impl StructuralEq for InvalidLitVal[src]

impl StructuralPartialEq for InvalidLitVal[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.