[−][src]Trait grdf::SizedGraph
Sized gRDF graph that can be converted into iterators.
Defines a set of iterators the graph can be consumed into.
Associated Types
type IntoTriples: Iterator<Item = Triple<T>>
Consuming triples iterator.
type IntoSubjects: Iterator<Item = (T, Self::IntoPredicates)>
Consuming subjects iterator.
type IntoPredicates: Iterator<Item = (T, Self::IntoObjects)>
Consuming predicates iterator.
type IntoObjects: Iterator<Item = T>
Consuming objects iterator.
Required methods
fn into_triples(self) -> Self::IntoTriples
Consumes the graph and returns an iterator over its triples.
fn into_subjects(self) -> Self::IntoSubjects
Consumes the graph and returns an iterator over its subjects.
fn into_predicates(self, subject: &T) -> Self::IntoPredicates
Consumes the graph and returns an iterator over the predicates of the given subject.
fn into_objects(self, subject: &T, predicate: &T) -> Self::IntoObjects
Consumes the graph and returns an iterator over the objects of the given subject and predicate.