#[non_exhaustive]pub struct CrossSectionSample {
pub ident: Option<String>,
pub position: GeoPoint,
pub along_track_nm: f64,
pub altitude_ft: f64,
pub eta_from_etd: Duration,
pub phase: FlightPhase,
}Expand description
One sampled point of the vertical profile.
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.ident: Option<String>Identifier when the sample sits on a named route waypoint.
position: GeoPointPosition of the sample.
along_track_nm: f64Distance from the departure along the route, nautical miles.
altitude_ft: f64Estimated altitude here, feet MSL.
eta_from_etd: DurationEstimated time from the ETD to here.
phase: FlightPhaseFlight phase here.
Trait Implementations§
Source§impl Clone for CrossSectionSample
impl Clone for CrossSectionSample
Source§fn clone(&self) -> CrossSectionSample
fn clone(&self) -> CrossSectionSample
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 CrossSectionSample
impl Debug for CrossSectionSample
Source§impl PartialEq for CrossSectionSample
impl PartialEq for CrossSectionSample
Source§fn eq(&self, other: &CrossSectionSample) -> bool
fn eq(&self, other: &CrossSectionSample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CrossSectionSample
Auto Trait Implementations§
impl Freeze for CrossSectionSample
impl RefUnwindSafe for CrossSectionSample
impl Send for CrossSectionSample
impl Sync for CrossSectionSample
impl Unpin for CrossSectionSample
impl UnsafeUnpin for CrossSectionSample
impl UnwindSafe for CrossSectionSample
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