fn check_lower_heat_threshold_for_males(_gear: &Gear, params: &RunParameters) -> bool {
    match params.preferences.sex {
        Sex::Male => params.effective_temperature() <= 80,
        Sex::Female => true,
    }
}
// Extra checks that can be used for Gear::other_checks field
Extra checks that can be used for Gear::other_checks field
Extra checks that can be used for Gear :: other_checks field
fn check_lower_heat_threshold_for_males(_gear: &Gear, params: &RunParameters) -> bool {
    match params.preferences.sex {
        Sex::Male => params.effective_temperature() <= 80,
        Sex::Female => true,
    }
}
fn check_lower_heat_threshold_for_males ( _gear : & Gear , params : & RunParameters ) -> bool { match params . preferences . sex { Sex :: Male => params . effective_temperature ( ) <= 80 , Sex :: Female => true , } }
Extra checks that can be used for Gear::other_checks field
Extra checks that can be used for Gear :: other_checks field
_gear
&Gear
params
&RunParameters
_gear
&Gear
params
&RunParameters