Skip to main content Module constraint Copy item path Source Constraint A single algebraic constraint, canonicalized as the interval
lower <= lhs <= upper with numeric bounds. RHS expressions are folded into
lhs during construction, so backends only ever see this canonical shape. ConstraintExpr In-progress constraint produced by Relate::le / Relate::ge /
Relate::eq . Registered through the constraint! macro. ConstraintHandle A model-bound handle to an algebraic constraint. ConstraintId RangeConstraintHandles Model-bound handles produced by a two-sided range declaration. RangeConstraintIds Model row IDs produced by a two-sided range declaration. Sense The sense of a constraint: less-than-or-equal, greater-than-or-equal, or equality. IntoRhs What can appear on the right-hand side of a constraint. Numeric scalars
stay as the canonical rhs. Expressions get subtracted into the LHS. Relate Build a constraint from an expression. Lives on Expr itself.