pub struct RouteHop {
pub system_id: SystemId,
pub leg_distance_ly: f64,
pub cumulative_ly: f64,
pub is_waypoint: bool,
}Expand description
A single hop in a route.
Fields§
§system_id: SystemIdSystem at this waypoint.
leg_distance_ly: f64Distance from previous hop (0 for start).
cumulative_ly: f64Cumulative distance from route start.
is_waypoint: boolWhether this is an intermediate waypoint inserted for hop constraints.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RouteHop
impl RefUnwindSafe for RouteHop
impl Send for RouteHop
impl Sync for RouteHop
impl Unpin for RouteHop
impl UnsafeUnpin for RouteHop
impl UnwindSafe for RouteHop
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