pub struct Var { /* private fields */ }
Expand description
A Gurobi variable.
To interact with the attributes of a variable, use Model::get_obj_attr
and Model::set_obj_attr
Trait Implementations§
source§impl AttachModel for Var
impl AttachModel for Var
source§impl ObjAttrGet<Var, VarType> for VarVTypeAttr
impl ObjAttrGet<Var, VarType> for VarVTypeAttr
source§impl ObjAttrSet<Var, VarType> for VarVTypeAttr
impl ObjAttrSet<Var, VarType> for VarVTypeAttr
source§impl ObjAttrSet<Var, i8> for VarVTypeAttr
impl ObjAttrSet<Var, i8> for VarVTypeAttr
impl Copy for Var
impl Eq for Var
impl StructuralPartialEq for Var
Auto Trait Implementations§
impl Freeze for Var
impl RefUnwindSafe for Var
impl Send for Var
impl Sync for Var
impl Unpin for Var
impl UnwindSafe for Var
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more