pub struct LinearSum {
pub params: Vec<usize>,
pub constant: i64,
}Expand description
A sum of f64 parameters and an integer constant: the side of a
Constraint.
Fields§
§params: Vec<usize>Indices of the f64 parameters added, in the order written; one may
appear more than once.
constant: i64The sum of the integer literals.
Trait Implementations§
impl Eq for LinearSum
impl StructuralPartialEq for LinearSum
Auto Trait Implementations§
impl Forget for LinearSum
impl Freeze for LinearSum
impl Move for LinearSum
impl RefUnwindSafe for LinearSum
impl Send for LinearSum
impl Sync for LinearSum
impl Unpin for LinearSum
impl UnsafeUnpin for LinearSum
impl UnwindSafe for LinearSum
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