Module sophia_api::term::matcher
source · [−]Expand description
This crate defines generic traits and default implementations for matchers, objects that can be used to match zero, one or several terms.
For a list of matcher implementations,
check TermMarcher
’s and
GraphNameMatcher
’s implementors lists.
For methods using matchers (with examples), see for example
Graph::triples_matching
,
MutableGraph::remove_matching
,
MutableGraph::retain_matching
,
Dataset::quads_matching
,
MutableDataset::remove_matching
, and
MutableDataset::retain_matching
.
Structs
Enums
A matcher matching either any term, or only a specific owned term.
A matcher matching either any term, or only a specific borrowed term.
Constants
A universal matcher: it matches any term or graph name (even the default graph).