pub trait TraversableGraph: Graph {
type Triples<'a>: Iterator<Item = Triple<&'a Self::Subject, &'a Self::Predicate, &'a Self::Object>>
where Self: 'a;
// Required method
fn triples(&self) -> Self::Triples<'_>;
// Provided method
fn triples_count(&self) -> usize { ... }
}Expand description
Graph whose triples can be enumerated.
Required Associated Types§
Required Methods§
Provided Methods§
Sourcefn triples_count(&self) -> usize
fn triples_count(&self) -> usize
Returns the number of triples in this graph.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".