Function fzyr::locate[][src]

pub fn locate<'src>(query: &str, candidate: &'src str) -> LocateResult<'src>

Calculates a score for how well a query matches a candidate and gives the locations of the query characters in the candidate too

Higher scores are better