MatchEngine

Trait MatchEngine 

Source
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§

Source

fn match_item(&self, item: Arc<dyn SkimItem>) -> Option<MatchResult>

Matches an item against the query, returning a result if matched

Implementors§