srdf::srdf_parser

Function apply_rdf

Source
pub fn apply_rdf<RDF, A>(
    function: impl FnMut(&mut RDF) -> Result<A, RDFParseError>,
) -> impl RDFNodeParse<RDF, Output = A>
where RDF: FocusRDF,
Expand description

Applies a function over the RDF graph and returns the result of that function