Struct gurobi::Var[][src]

pub struct Var(_);

Proxy object of a variables

Methods

impl Var
[src]

Methods from Deref<Target = Proxy>

Query the value of attribute.

Set the value of attribute.

Trait Implementations

impl<'a> From<&'a Var> for LinExpr
[src]

Performs the conversion.

impl From<Var> for LinExpr
[src]

Performs the conversion.

impl Into<QuadExpr> for Var
[src]

Performs the conversion.

impl<'a> Into<QuadExpr> for &'a Var
[src]

Performs the conversion.

impl Add for Var
[src]

Var + Var => LinExpr

The resulting type after applying the + operator.

Performs the + operation.

impl<'a> Add<&'a Var> for Var
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<'a> Add<Var> for &'a Var
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<'a, 'b> Add<&'b Var> for &'a Var
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<f64> for Var
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<'a> Add<f64> for &'a Var
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub for Var
[src]

Var - Var => LinExpr

The resulting type after applying the - operator.

Performs the - operation.

impl<'a> Sub<&'a Var> for Var
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<'a> Sub<Var> for &'a Var
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<'a, 'b> Sub<&'b Var> for &'a Var
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<LinExpr> for Var
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<'a> Sub<LinExpr> for &'a Var
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<Var> for f64
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<'a> Sub<&'a Var> for f64
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Neg for Var
[src]

-Var => LinExpr

The resulting type after applying the - operator.

Performs the unary - operation.

impl<'a> Neg for &'a Var
[src]

The resulting type after applying the - operator.

Performs the unary - operation.

impl Mul<f64> for Var
[src]

Var * f64 => LinExpr

The resulting type after applying the * operator.

Performs the * operation.

impl<'a> Mul<f64> for &'a Var
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<Var> for f64
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<'a> Mul<&'a Var> for f64
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul for Var
[src]

Var * Var => QuadExpr

The resulting type after applying the * operator.

Performs the * operation.

impl<'a> Mul<&'a Var> for Var
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<'a> Mul<Var> for &'a Var
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<'a, 'b> Mul<&'b Var> for &'a Var
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Add<LinExpr> for Var
[src]

LinExpr + Var => LinExpr

The resulting type after applying the + operator.

Performs the + operation.

impl<'a> Add<LinExpr> for &'a Var
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<Var> for LinExpr
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<'a> Add<&'a Var> for LinExpr
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl AddAssign<Var> for LinExpr
[src]

Performs the += operation.

impl Debug for Var
[src]

Formats the value using the given formatter. Read more

impl Clone for Var
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Deref for Var
[src]

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for Var
[src]

Mutably dereferences the value.

impl PartialEq for Var
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl !Send for Var

impl !Sync for Var