Struct grb::Constr [−][src]
pub struct Constr { /* fields omitted */ }
Expand description
A linear constraint added to a Model
To interact with the attributes of a constraint, use Model::get_obj_attr
and Model::set_obj_attr
Trait Implementations
impl ObjAttrGet<Constr, ConstrSense> for ConstrSenseAttr
[src]
impl ObjAttrGet<Constr, ConstrSense> for ConstrSenseAttr
[src]fn get_batch<I: IntoIterator<Item = Result<i32>>>(
&self,
model: &Model,
inds: I
) -> Result<Vec<ConstrSense>>
[src]
fn get_batch<I: IntoIterator<Item = Result<i32>>>(
&self,
model: &Model,
inds: I
) -> Result<Vec<ConstrSense>>
[src]Get multiple values for this attribute at once
impl ObjAttrSet<Constr, ConstrSense> for ConstrSenseAttr
[src]
impl ObjAttrSet<Constr, ConstrSense> for ConstrSenseAttr
[src]impl ObjAttrSet<Constr, i8> for ConstrSenseAttr
[src]
impl ObjAttrSet<Constr, i8> for ConstrSenseAttr
[src]impl Copy for Constr
[src]
impl Eq for Constr
[src]
impl StructuralEq for Constr
[src]
impl StructuralPartialEq for Constr
[src]
Auto Trait Implementations
impl RefUnwindSafe for Constr
impl Send for Constr
impl Sync for Constr
impl Unpin for Constr
impl UnwindSafe for Constr
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more