Crate fzyr

Source

Modules§

config

Structs§

LocateResult
Result of querying the score and location against a candidate
ScoreResult
Result of querying the score against a candidate

Functions§

has_match
Returns true if and only if candidate is a match for query
locate
Calculates a score for how well a query matches a candidate and gives the locations of the query characters in the candidate too
score
Calculates a score for how well a query matches a candidate
search_locate
Search among a collection of candidates using the given query, returning an ordered collection of results (highest score first) with the locations of the query in each candidate
search_score
Search among a collection of candidates using the given query, returning an ordered collection of results (highest score first)

Type Aliases§

LocateResults
Collection of scores, locations, and the candidates they apply to
Score
ScoreResults
Collection of scores and the candidates they apply to
OSZAR »