const fn crossed( direction: HealthThresholdDirection, before: f64, after: f64, threshold: f64, ) -> bool