pub struct DefaultShortestPathOptions {}Expand description
Default implementation of a type implementing the ShortestPathOptions
trait.
Implementations§
Trait Implementations§
source§impl Default for DefaultShortestPathOptions
impl Default for DefaultShortestPathOptions
source§fn default() -> DefaultShortestPathOptions
fn default() -> DefaultShortestPathOptions
Returns the “default value” for a type. Read more
source§impl ShortestPathOptions for DefaultShortestPathOptions
impl ShortestPathOptions for DefaultShortestPathOptions
source§fn max_distance_to_graph(&self) -> u32
fn max_distance_to_graph(&self) -> u32
Number of cells to be allowed to be missing between
a cell and the graph while the cell is still counted as being connected
to the graph. Read more
source§fn num_destinations_to_reach(&self) -> Option<usize>
fn num_destinations_to_reach(&self) -> Option<usize>
number of destinations to reach.
Routing for the origin cell will stop when this number of destinations are reached. When not set,
routing will continue until all destinations are reached