EVAPORATION_HEAT_RANGE

Constant EVAPORATION_HEAT_RANGE 

Source
pub const EVAPORATION_HEAT_RANGE: RangeInclusive<KiloJoulePerMole>;
Expand description

Range from the minimum to the maximum evaporation heat across all elements

Convenience constant to avoid writing the code below when this range is needed:

use mendeleev::{Element, EVAPORATION_HEAT_RANGE};
let all_values = Element::iter().flat_map(|e| e.evaporation_heat());
let min = all_values.clone().min_by(|a, b| a.total_cmp(&b)).unwrap();
let max = all_values.max_by(|a, b| a.total_cmp(&b)).unwrap();
assert_eq!(min..=max, EVAPORATION_HEAT_RANGE);