Struct grb::Var[][src]

pub struct Var { /* fields omitted */ }

A Gurobi variable.

To interact with the attributes of a variable, use Model::get_obj_attr and Model::set_obj_attr

Trait Implementations

impl Add<Expr> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<Var> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<Var> for Expr[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<f32> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<f64> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<i16> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<i32> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<i64> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<i8> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<isize> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<u16> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<u32> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<u64> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<u8> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl Add<usize> for Var[src]

type Output = Expr

The resulting type after applying the + operator.

impl AttachModel for Var[src]

impl Clone for Var[src]

impl Copy for Var[src]

impl Debug for Var[src]

impl Eq for Var[src]

impl From<Var> for Expr[src]

impl Hash for Var[src]

impl ModelObject for Var[src]

impl Mul<Var> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Mul<f32> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Mul<f64> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Mul<i16> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Mul<i32> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Mul<i64> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Mul<i8> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Mul<isize> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Mul<u16> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Mul<u32> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Mul<u64> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Mul<u8> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Mul<usize> for Var[src]

type Output = Expr

The resulting type after applying the * operator.

impl Neg for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl ObjAttrGet<Var, VarType> for VarVTypeAttr[src]

impl ObjAttrSet<Var, VarType> for VarVTypeAttr[src]

impl ObjAttrSet<Var, i8> for VarVTypeAttr[src]

impl PartialEq<Var> for Var[src]

impl StructuralEq for Var[src]

impl StructuralPartialEq for Var[src]

impl Sub<Expr> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<Var> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<Var> for Expr[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<f32> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<f64> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<i16> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<i32> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<i64> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<i8> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<isize> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<u16> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<u32> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<u64> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<u8> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

impl Sub<usize> for Var[src]

type Output = Expr

The resulting type after applying the - operator.

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