Struct Matcher
bqrs
pub struct Matcher { /* fields omitted */ }
The matcher struct holds a single query object.
impl Matcher
fn from(s: &str) -> Result<Self, ParsingError>
Constructs a new Matcher object from a string.
Returns a ParsingError if it fails.
fn query(&self, s: &str) -> bool
Applies the query to the string.