pub struct RocketConfig {
pub stage1: StageConfig,
pub stage2: Option<StageConfig>,
pub separation_altitude: f64,
pub initial_position: Vec3,
pub initial_velocity: Vec3,
}Expand description
Rocket configuration.
Fields§
§stage1: StageConfigFirst stage configuration.
stage2: Option<StageConfig>Second stage configuration (optional).
separation_altitude: f64Separation altitude (m).
initial_position: Vec3Initial position.
initial_velocity: Vec3Initial velocity.
Trait Implementations§
Source§impl Clone for RocketConfig
impl Clone for RocketConfig
Source§fn clone(&self) -> RocketConfig
fn clone(&self) -> RocketConfig
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 RocketConfig
impl Debug for RocketConfig
Source§impl Default for RocketConfig
impl Default for RocketConfig
Source§impl<'de> Deserialize<'de> for RocketConfig
impl<'de> Deserialize<'de> for RocketConfig
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 RocketConfig
impl RefUnwindSafe for RocketConfig
impl Send for RocketConfig
impl Sync for RocketConfig
impl Unpin for RocketConfig
impl UnsafeUnpin for RocketConfig
impl UnwindSafe for RocketConfig
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