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

The type of the ANY singleton matcher.

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).

Traits

Generic trait for matching graph names, i.e. optional TTerms.

Generic trait for matching TTerms.