pub struct StageConfig {
pub dry_mass: f64,
pub fuel_mass: f64,
pub thrust: f64,
pub isp: f64,
pub cd: f64,
pub area: f64,
}Expand description
Configuration for a rocket stage.
Fields§
§dry_mass: f64Dry mass (kg).
fuel_mass: f64Fuel mass (kg).
thrust: f64Thrust (N).
isp: f64Specific impulse (s).
cd: f64Drag coefficient.
area: f64Cross-sectional area (m²).
Trait Implementations§
Source§impl Clone for StageConfig
impl Clone for StageConfig
Source§fn clone(&self) -> StageConfig
fn clone(&self) -> StageConfig
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 moreSource§impl Debug for StageConfig
impl Debug for StageConfig
Source§impl Default for StageConfig
impl Default for StageConfig
Source§impl<'de> Deserialize<'de> for StageConfig
impl<'de> Deserialize<'de> for StageConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StageConfig
impl RefUnwindSafe for StageConfig
impl Send for StageConfig
impl Sync for StageConfig
impl Unpin for StageConfig
impl UnsafeUnpin for StageConfig
impl UnwindSafe for StageConfig
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