pub struct OptimumDelay {
pub motor: usize,
pub burnout_s: f64,
pub apogee_s: f64,
pub apogee_height_above_ground_m: f64,
pub delay_s: f64,
}Expand description
The ejection delay that would fire a motor’s charge at apogee.
Fields§
§motor: usizeThe motor, by its index in hpr_design::Assembly::motors.
burnout_s: f64When it burned out, s after launch.
apogee_s: f64When the rocket reached apogee with its charges held, s after launch.
apogee_height_above_ground_m: f64How high its center of mass was then, m above the launch site.
delay_s: f64The delay from its burnout to that apogee, s.
Trait Implementations§
Source§impl Clone for OptimumDelay
impl Clone for OptimumDelay
Source§fn clone(&self) -> OptimumDelay
fn clone(&self) -> OptimumDelay
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OptimumDelay
Source§impl Debug for OptimumDelay
impl Debug for OptimumDelay
Source§impl<'de> Deserialize<'de> for OptimumDelay
impl<'de> Deserialize<'de> for OptimumDelay
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
Source§impl PartialEq for OptimumDelay
impl PartialEq for OptimumDelay
Source§fn eq(&self, other: &OptimumDelay) -> bool
fn eq(&self, other: &OptimumDelay) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OptimumDelay
impl Serialize for OptimumDelay
impl StructuralPartialEq for OptimumDelay
Auto Trait Implementations§
impl Freeze for OptimumDelay
impl RefUnwindSafe for OptimumDelay
impl Send for OptimumDelay
impl Sync for OptimumDelay
impl Unpin for OptimumDelay
impl UnsafeUnpin for OptimumDelay
impl UnwindSafe for OptimumDelay
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