Skip to main content

find

Function find 

Source
pub fn find<'a>(
    places: &'a [SavedPlace],
    target: &str,
) -> Result<&'a SavedPlace>
Expand description

Find a place by 1-based list index, poiID, label (home, work, a custom label; case-insensitive) or name. Errors if nothing or several match.