pub enum MassEventKind {
FuelBurn {
delta_v_km_s: f64,
isp_s: f64,
burn_duration_h: f64,
},
ContainerJettison {
mass_kg: f64,
},
DamageEvent {
mass_kg: f64,
},
Resupply {
mass_kg: f64,
},
}Expand description
Classification of mass-changing events.
Variants§
FuelBurn
Propellant consumption during a burn. Contains: ΔV (km/s), exhaust velocity via Isp (s), burn duration (hours).
ContainerJettison
Container or cargo jettison (mass removed from ship).
DamageEvent
Damage-related mass loss (debris, ablation, etc.).
Resupply
Resupply or loading (mass added).
Trait Implementations§
Source§impl Clone for MassEventKind
impl Clone for MassEventKind
Source§fn clone(&self) -> MassEventKind
fn clone(&self) -> MassEventKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MassEventKind
impl RefUnwindSafe for MassEventKind
impl Send for MassEventKind
impl Sync for MassEventKind
impl Unpin for MassEventKind
impl UnwindSafe for MassEventKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more