Skip to main content

MatchEngine

Trait MatchEngine 

Source
pub trait MatchEngine:
    Sync
    + Send
    + Display {
    // Required method
    fn match_item(&self, item: &dyn SkimItem) -> Option<MatchResult>;
}
Expand description

A matching engine that can match queries against items

Required Methods§

Source

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

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

Implementors§