#[non_exhaustive]pub enum Definition {
PeakHeight {
point: Point,
},
TimeOfPeakHeight {
point: Point,
},
PeakSpeed {
point: Point,
},
PeakMach,
PeakAccelerationBefore {
event: Event,
},
SpeedAtEvent {
point: Point,
event: Event,
which: Occurrence,
},
TimeOfEvent {
event: Event,
},
StabilityAtEvent {
event: Event,
},
}Expand description
What a metric measures, precisely enough to take it from a flight’s time series.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PeakHeight
The largest height of point above the launch site over the flight.
TimeOfPeakHeight
The time of the stored step at which the height of point is largest. This is not
always the apogee event’s time: the event can fall between steps.
PeakSpeed
The largest speed of point over the flight.
PeakMach
The largest Mach number over the flight.
PeakAccelerationBefore
The largest total acceleration up to the first occurrence of event, or over the whole
flight if it never happens: nothing after the event counts.
SpeedAtEvent
The speed of point at which occurrence of event, interpolated linearly in time
between the two stored steps either side of it (exact when the event is on a step).
TimeOfEvent
The time of the first occurrence of event.
StabilityAtEvent
The static stability margin at the first occurrence of event: the distance from the
center of mass aft to the center of pressure, divided by the tool’s reference length, in
calibres (Niskanen 2009, p. 12). OpenRocket’s reference length is by default the largest
body diameter, and was that on every flight of the record.
Implementations§
Trait Implementations§
Source§impl Clone for Definition
impl Clone for Definition
Source§fn clone(&self) -> Definition
fn clone(&self) -> Definition
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for Definition
Source§impl Debug for Definition
impl Debug for Definition
Source§impl<'de> Deserialize<'de> for Definition
impl<'de> Deserialize<'de> for Definition
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>,
impl Eq for Definition
Source§impl Hash for Definition
impl Hash for Definition
Source§impl PartialEq for Definition
impl PartialEq for Definition
Source§fn eq(&self, other: &Definition) -> bool
fn eq(&self, other: &Definition) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for Definition
impl Serialize for Definition
impl StructuralPartialEq for Definition
Auto Trait Implementations§
impl Freeze for Definition
impl RefUnwindSafe for Definition
impl Send for Definition
impl Sync for Definition
impl Unpin for Definition
impl UnsafeUnpin for Definition
impl UnwindSafe for Definition
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.