Struct puzzle_solver::LinExpr [] [src]

pub struct LinExpr { /* fields omitted */ }

A linear expression.

  constant + coef1 * var1 + coef2 * var2 + ...

Trait Implementations

impl<T: IntoCoef> From<T> for LinExpr
[src]

Performs the conversion.

impl From<VarToken> for LinExpr
[src]

Performs the conversion.

impl Neg for LinExpr
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl<T: IntoCoef> Add<T> for LinExpr
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub<i32> for LinExpr
[src]

The resulting type after applying the - operator

The method for the - operator

impl Sub<Rational32> for LinExpr
[src]

The resulting type after applying the - operator

The method for the - operator

impl<T: IntoCoef> Mul<T> for LinExpr
[src]

The resulting type after applying the * operator

The method for the * operator

impl Add<VarToken> for LinExpr
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub<VarToken> for LinExpr
[src]

The resulting type after applying the - operator

The method for the - operator

impl Add for LinExpr
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub<LinExpr> for LinExpr
[src]

The resulting type after applying the - operator

The method for the - operator

impl Clone for LinExpr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more