Function bigbang::utils::can_water_be_ice [] [src]

pub fn can_water_be_ice(min_temp: f64, pressure: f64) -> bool

Checks if water can be ice

Examples

let min_temp = 260_f64;
let max_temp = 290_f64;
let pressure = 101_325_f64;

let can_be_ice = can_water_be_ice(min_temp, pressure);

// Now can_be_ice should be true