Struct gurobi::Proxy [−][src]
pub struct Proxy(_);
Provides methods to query/modify attributes associated with certain element.
Methods
impl Proxy
[src]
impl Proxy
pub fn get<A: AttrArray>(&self, model: &Model, attr: A) -> Result<A::Out>
[src]
pub fn get<A: AttrArray>(&self, model: &Model, attr: A) -> Result<A::Out>
Query the value of attribute.
pub fn set<A: AttrArray>(
&self,
model: &mut Model,
attr: A,
val: A::Out
) -> Result<()>
[src]
pub fn set<A: AttrArray>(
&self,
model: &mut Model,
attr: A,
val: A::Out
) -> Result<()>
Set the value of attribute.
pub fn remove(&mut self)
[src]
pub fn remove(&mut self)
Trait Implementations
impl Debug for Proxy
[src]
impl Debug for Proxy
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Proxy
[src]
impl Clone for Proxy
fn clone(&self) -> Proxy
[src]
fn clone(&self) -> Proxy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Proxy
[src]
impl PartialEq for Proxy