Struct lp_solvers::lp_format::Constraint[][src]

pub struct Constraint<E> {
    pub lhs: E,
    pub operator: Ordering,
    pub rhs: f64,
}

A constraint expressing a relation between two expressions

Fields

lhs: E

left hand side of the constraint

operator: Ordering

‘<=’ ‘=’ or ‘>=’

rhs: f64

Right-hand side of the constraint

Trait Implementations

impl<E: WriteToLpFileFormat> WriteToLpFileFormat for Constraint<E>[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for Constraint<E> where
    E: RefUnwindSafe

impl<E> Send for Constraint<E> where
    E: Send

impl<E> Sync for Constraint<E> where
    E: Sync

impl<E> Unpin for Constraint<E> where
    E: Unpin

impl<E> UnwindSafe for Constraint<E> where
    E: UnwindSafe

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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,