#[non_exhaustive]pub struct Varied {
pub apogee_m: f64,
pub two_guides: bool,
}Expand description
A flight flown as a Variant of its report’s: its apogee, and whether its design has a
stretch on its last guide alone for the tip-off phase to fly.
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.apogee_m: f64The apogee as the log’s altimeter would read it, m above the start.
two_guides: boolWhether the design has two or more guides at different stations
(hpr_sim::Guides::next_guide_station_m): a design with fewer flies the tip-off phase as
it flies without it.
Trait Implementations§
impl Copy for Varied
Source§impl<'de> Deserialize<'de> for Varied
impl<'de> Deserialize<'de> for Varied
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
impl StructuralPartialEq for Varied
Auto Trait Implementations§
impl Freeze for Varied
impl RefUnwindSafe for Varied
impl Send for Varied
impl Sync for Varied
impl Unpin for Varied
impl UnsafeUnpin for Varied
impl UnwindSafe for Varied
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