pub struct DefaultShortestPathOptions {}Expand description
Default implementation of a type implementing the ShortestPathOptions
trait.
Implementations
Trait Implementations
sourceimpl Default for DefaultShortestPathOptions
impl Default for DefaultShortestPathOptions
sourcefn default() -> DefaultShortestPathOptions
fn default() -> DefaultShortestPathOptions
Returns the “default value” for a type. Read more
sourceimpl ShortestPathOptions for DefaultShortestPathOptions
impl ShortestPathOptions for DefaultShortestPathOptions
sourcefn 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
sourcefn 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 Read more
Auto Trait Implementations
impl RefUnwindSafe for DefaultShortestPathOptions
impl Send for DefaultShortestPathOptions
impl Sync for DefaultShortestPathOptions
impl Unpin for DefaultShortestPathOptions
impl UnwindSafe for DefaultShortestPathOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more