pub trait ArithmConstraint<'model, MOD, RES> {
// Required method
fn modulo(&'model self, modulo: MOD, res: RES) -> Constraint<'model>;
}Expand description
Trait for creating modulo/remainder constraints.
Required Methods§
Sourcefn modulo(&'model self, modulo: MOD, res: RES) -> Constraint<'model>
fn modulo(&'model self, modulo: MOD, res: RES) -> Constraint<'model>
Creates a modulo constraint: self % modulo = res.