pub trait DomainConstraint:
Debug
+ Send
+ Sync
+ 'static {
type Value;
// Required method
fn check(&self, var: &dyn Var, v: &Self::Value) -> Result<(), VarError>;
}
pub trait DomainConstraint:
Debug
+ Send
+ Sync
+ 'static {
type Value;
// Required method
fn check(&self, var: &dyn Var, v: &Self::Value) -> Result<(), VarError>;
}