pub struct DescentSetup {
pub design: String,
pub dry_mass_kg: f64,
pub start_height_above_ground_m: f64,
pub latitude_deg: f64,
pub longitude_deg: f64,
pub elevation_m: f64,
pub wind: Vec<(f64, f64, f64)>,
pub start_time_s: f64,
pub start_position_m: (f64, f64, f64),
pub start_velocity_m_s: (f64, f64, f64),
pub devices: Vec<DescentDevice>,
}Expand description
The parts of a reference a descent case needs, read from the generator’s own JSON.
Fields§
§design: StringThe design the oracle flew, from the repository root.
dry_mass_kg: f64What it weighed as it descended, kg.
start_height_above_ground_m: f64How far above the site the descent starts, m: the generator’s own numerator for the mean descent rate.
latitude_deg: f64The site’s latitude, degrees.
longitude_deg: f64Its longitude, degrees.
elevation_m: f64Its elevation above sea level, m.
wind: Vec<(f64, f64, f64)>The wind as (height above sea level, east, north) levels, m and m/s.
start_time_s: f64When the descent starts, s after ignition.
start_position_m: (f64, f64, f64)Where its center of mass starts, m (east, north, height above sea level).
start_velocity_m_s: (f64, f64, f64)That point’s velocity, m/s.
devices: Vec<DescentDevice>The devices, in the order they open.
Trait Implementations§
Source§impl Clone for DescentSetup
impl Clone for DescentSetup
Source§fn clone(&self) -> DescentSetup
fn clone(&self) -> DescentSetup
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 DescentSetup
impl Debug for DescentSetup
Source§impl<'de> Deserialize<'de> for DescentSetup
impl<'de> Deserialize<'de> for DescentSetup
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 DescentSetup
impl PartialEq for DescentSetup
Source§fn eq(&self, other: &DescentSetup) -> bool
fn eq(&self, other: &DescentSetup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DescentSetup
impl Serialize for DescentSetup
impl StructuralPartialEq for DescentSetup
Auto Trait Implementations§
impl Freeze for DescentSetup
impl RefUnwindSafe for DescentSetup
impl Send for DescentSetup
impl Sync for DescentSetup
impl Unpin for DescentSetup
impl UnsafeUnpin for DescentSetup
impl UnwindSafe for DescentSetup
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