#[derive(Debug, Clone, Copy, PartialEq)]
pub struct Lander {
pub name: &'static str,
pub dry_mass_kg: f64,
pub crewed: bool,
}
pub fn eagle() -> Lander {
Lander {
name: "Eagle",
dry_mass_kg: 2_150.0,
crewed: true,
}
}
pub fn surveyor_1() -> Lander {
Lander {
name: "Surveyor 1",
dry_mass_kg: 292.0,
crewed: false,
}
}