pub struct Waypoint {
pub position: Position,
pub name: Option<String>,
}Expand description
One waypoint of a route – a position and, optionally, what the
mariner calls it, the same pair Signal K’s own coordinatesMeta
carries per point.
Fields§
§position: PositionWhere it is.
name: Option<String>What the mariner calls it, if anything.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Waypoint
Auto Trait Implementations§
impl Freeze for Waypoint
impl RefUnwindSafe for Waypoint
impl Send for Waypoint
impl Sync for Waypoint
impl Unpin for Waypoint
impl UnsafeUnpin for Waypoint
impl UnwindSafe for Waypoint
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