pub struct RouteResult {
pub route: Route,
pub warp_range: Option<f64>,
pub warp_jumps: Option<usize>,
pub algorithm: RoutingAlgorithm,
pub targets_visited: usize,
}Expand description
Result of a route query.
Fields§
§route: RouteThe computed route.
warp_range: Option<f64>Warp range used (if any).
warp_jumps: Option<usize>Total warp jumps needed at the given warp range.
algorithm: RoutingAlgorithmWhich algorithm was used.
targets_visited: usizeNumber of non-waypoint targets visited (excluding start).
Trait Implementations§
Source§impl Clone for RouteResult
impl Clone for RouteResult
Source§fn clone(&self) -> RouteResult
fn clone(&self) -> RouteResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RouteResult
impl RefUnwindSafe for RouteResult
impl Send for RouteResult
impl Sync for RouteResult
impl Unpin for RouteResult
impl UnsafeUnpin for RouteResult
impl UnwindSafe for RouteResult
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