#[non_exhaustive]pub enum FlightPhase {
Climb,
Cruise,
Descent,
}Expand description
Flight phase at a point along the route.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FlightPhase
impl Clone for FlightPhase
Source§fn clone(&self) -> FlightPhase
fn clone(&self) -> FlightPhase
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 moreimpl Copy for FlightPhase
Source§impl Debug for FlightPhase
impl Debug for FlightPhase
impl Eq for FlightPhase
Source§impl PartialEq for FlightPhase
impl PartialEq for FlightPhase
Source§fn eq(&self, other: &FlightPhase) -> bool
fn eq(&self, other: &FlightPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FlightPhase
Auto Trait Implementations§
impl Freeze for FlightPhase
impl RefUnwindSafe for FlightPhase
impl Send for FlightPhase
impl Sync for FlightPhase
impl Unpin for FlightPhase
impl UnsafeUnpin for FlightPhase
impl UnwindSafe for FlightPhase
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