Struct gurobi::Constr [] [src]

pub struct Constr(_);

Proxy object of a linear constraint

Methods from Deref<Target=Proxy>

fn get<A: AttrArray>(&self, model: &Model, attr: A) -> Result<A::Out>

Query the value of attribute.

fn set<A: AttrArray>(&self, model: &mut Model, attr: A, val: A::Out) -> Result<()>

Set the value of attribute.

fn remove(&mut self)

Trait Implementations

impl Clone for Constr
[src]

fn clone(&self) -> Constr

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Deref for Constr
[src]

type Target = Proxy

The resulting type after dereferencing

fn deref(&self) -> &Proxy

The method called to dereference a value

impl DerefMut for Constr
[src]

fn deref_mut(&mut self) -> &mut Proxy

The method called to mutably dereference a value

impl PartialEq for Constr
[src]

fn eq(&self, other: &Constr) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.