[−][src]Module sophia::term::matcher
This crate defines generic traits and default implementations for matchers, objects that can be used to match zero, one or several terms.
For usage of matchers, see for example
Graph::triples_matching
,
MutableGraph::remove_matching
,
MutableGraph::retain
,
Dataset::quads_matching
,
MutableDataset::remove_matching
,
MutableDataset::retain
.
Structs
AnyTerm | The type of the |
Constants
ANY | A universal matcher: it matches any term or graph name (even the default graph). |
Traits
GraphNameMatcher | Generic trait for matching graph names, i.e. optional terms. |
TermMatcher | Generic trait for matching terms. |