pub fn validate(model: &Model, id: EntityId) -> Vec<RuleViolation>Expand description
Run every implemented where-rule that applies to this entity.
Returns all violations rather than the first, because a consumer fixing a file wants the whole list, and because one bad placement often implies several related failures.