pub fn all_different<Var>(
variables: impl Into<Box<[Var]>>,
constraint_tag: ConstraintTag,
) -> impl Constraintwhere
Var: IntegerVariable + 'static,Expand description
Creates the Constraint that enforces that all the given variables are distinct.