#[non_exhaustive]pub struct LinDist3FlowVariableData {
pub variable: LinDist3FlowDecisionVariable,
pub lower: Option<f64>,
pub upper: Option<f64>,
pub objective_coefficient: f64,
}Expand description
One variable column, including its native bound and objective data.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.variable: LinDist3FlowDecisionVariable§lower: Option<f64>§upper: Option<f64>§objective_coefficient: f64Trait Implementations§
Source§impl Clone for LinDist3FlowVariableData
impl Clone for LinDist3FlowVariableData
Source§fn clone(&self) -> LinDist3FlowVariableData
fn clone(&self) -> LinDist3FlowVariableData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinDist3FlowVariableData
impl Debug for LinDist3FlowVariableData
Source§impl PartialEq for LinDist3FlowVariableData
impl PartialEq for LinDist3FlowVariableData
Source§fn eq(&self, other: &LinDist3FlowVariableData) -> bool
fn eq(&self, other: &LinDist3FlowVariableData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LinDist3FlowVariableData
Auto Trait Implementations§
impl Freeze for LinDist3FlowVariableData
impl RefUnwindSafe for LinDist3FlowVariableData
impl Send for LinDist3FlowVariableData
impl Sync for LinDist3FlowVariableData
impl Unpin for LinDist3FlowVariableData
impl UnsafeUnpin for LinDist3FlowVariableData
impl UnwindSafe for LinDist3FlowVariableData
Blanket Implementations§
impl<T> Allocation for T
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