pub struct Paleolake {
pub name: &'static str,
pub estimated_area_km2: f64,
}
impl Paleolake {
pub fn volume_km3(&self) -> f64 {
self.estimated_area_km2 * 0.1
}
}
pub fn hypothetical_early_lake() -> Paleolake {
Paleolake {
name: "Hypothetical Tessera Basin Lake",
estimated_area_km2: 50_000.0,
}
}