pub struct RoutePoint {
pub position: Position,
pub name: Option<String>,
}Expand description
One named point along a Route, as the wire carries it.
Fields§
§position: PositionWhere it is.
name: Option<String>What the mariner called it, if feature.properties.coordinatesMeta
carried a name entry for this point. None either for an
unnamed point or for one whose entry was the href variant –
see this module’s own doc for why that variant is not read here.
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