#[non_exhaustive]pub struct ReleasedFlight {
pub release: usize,
pub start_sample: BodySample,
pub termination: Termination,
pub events: Vec<BodyEvent>,
pub final_sample: BodySample,
pub stats: Stats,
}Expand description
A released part’s own flight, from the instant it left the rocket to its landing.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.release: usizeWhich release, by its index in the flight’s releases (crate::Simulation::with_releases).
start_sample: BodySampleThe part as it left: its center of mass where it was in the airframe, with the velocity
that point had, v_O + ω × c.
termination: TerminationWhy its flight ended.
events: Vec<BodyEvent>Its events, in order: its own EventKind::Apogee if it left climbing, and its
EventKind::GroundHit.
final_sample: BodySampleWhere it ended.
stats: StatsThe integrator’s work on it.
Implementations§
Trait Implementations§
Source§impl Clone for ReleasedFlight
impl Clone for ReleasedFlight
Source§fn clone(&self) -> ReleasedFlight
fn clone(&self) -> ReleasedFlight
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 moreSource§impl Debug for ReleasedFlight
impl Debug for ReleasedFlight
Source§impl<'de> Deserialize<'de> for ReleasedFlight
impl<'de> Deserialize<'de> for ReleasedFlight
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 ReleasedFlight
impl PartialEq for ReleasedFlight
Source§fn eq(&self, other: &ReleasedFlight) -> bool
fn eq(&self, other: &ReleasedFlight) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReleasedFlight
impl Serialize for ReleasedFlight
impl StructuralPartialEq for ReleasedFlight
Auto Trait Implementations§
impl Freeze for ReleasedFlight
impl RefUnwindSafe for ReleasedFlight
impl Send for ReleasedFlight
impl Sync for ReleasedFlight
impl Unpin for ReleasedFlight
impl UnsafeUnpin for ReleasedFlight
impl UnwindSafe for ReleasedFlight
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