#[non_exhaustive]pub struct RoutePoint {
pub ident: Option<String>,
pub position: GeoPoint,
pub via_airway: Option<String>,
}Expand description
A route point produced by expansion.
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>Published identifier, None for inline lat/lon waypoints.
position: GeoPointResolved position.
via_airway: Option<String>The airway this point was emitted from, when it came from an airway traversal rather than an explicit token.
Implementations§
Source§impl RoutePoint
impl RoutePoint
Trait Implementations§
Source§impl Clone for RoutePoint
impl Clone for RoutePoint
Source§fn clone(&self) -> RoutePoint
fn clone(&self) -> RoutePoint
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 RoutePoint
impl Debug for RoutePoint
Source§impl PartialEq for RoutePoint
impl PartialEq for RoutePoint
Source§fn eq(&self, other: &RoutePoint) -> bool
fn eq(&self, other: &RoutePoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RoutePoint
Auto Trait Implementations§
impl Freeze for RoutePoint
impl RefUnwindSafe for RoutePoint
impl Send for RoutePoint
impl Sync for RoutePoint
impl Unpin for RoutePoint
impl UnsafeUnpin for RoutePoint
impl UnwindSafe for RoutePoint
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