[][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 Eq for InvalidLitVal[src]

impl PartialEq<InvalidLitVal> for InvalidLitVal[src]

impl Clone for InvalidLitVal[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<InvalidLitVal> for SolverError[src]

impl Debug for InvalidLitVal[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.