pub struct GenericConstraintBoundEntry {
pub block_id: Option<i32>,
pub bound_lower: Option<f64>,
pub bound_upper: Option<f64>,
}Expand description
One resolved (block_id, bound_lower, bound_upper) entry for a (constraint, stage)
key. Shape is derived from which endpoints are present: lower-only, upper-only, or
both (a band, degenerate to an equality when the two are equal).
A named record rather than a tuple: bound_lower and bound_upper are both
Option<f64>-shaped, so a bare positional tuple invites a silent field swap at a
construction site.
Fields§
§block_id: Option<i32>Block index (None = all blocks).
bound_lower: Option<f64>Lower RHS bound; None when the row is upper-only.
bound_upper: Option<f64>Upper RHS bound; None when the row is lower-only.
Trait Implementations§
Source§impl Clone for GenericConstraintBoundEntry
impl Clone for GenericConstraintBoundEntry
Source§fn clone(&self) -> GenericConstraintBoundEntry
fn clone(&self) -> GenericConstraintBoundEntry
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 moreimpl Copy for GenericConstraintBoundEntry
Source§impl Debug for GenericConstraintBoundEntry
impl Debug for GenericConstraintBoundEntry
impl StructuralPartialEq for GenericConstraintBoundEntry
Auto Trait Implementations§
impl Freeze for GenericConstraintBoundEntry
impl RefUnwindSafe for GenericConstraintBoundEntry
impl Send for GenericConstraintBoundEntry
impl Sync for GenericConstraintBoundEntry
impl Unpin for GenericConstraintBoundEntry
impl UnsafeUnpin for GenericConstraintBoundEntry
impl UnwindSafe for GenericConstraintBoundEntry
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