Skip to main content

current_place

Function current_place 

Source
pub fn current_place(
    places: &[SavedPlace],
    loc: &Location,
) -> Option<(usize, Match)>
Expand description

Which place (index into places) is the saved delivery address: an exact match if any, else the closest one within NEAR_PLACE_M.