pub trait MatchEngine:
Sync
+ Send
+ Display {
// Required method
fn match_item(&self, item: Arc<dyn SkimItem>) -> Option<MatchResult>;
}Expand description
A matching engine that can match queries against items
Required Methods§
Sourcefn match_item(&self, item: Arc<dyn SkimItem>) -> Option<MatchResult>
fn match_item(&self, item: Arc<dyn SkimItem>) -> Option<MatchResult>
Matches an item against the query, returning a result if matched