pub trait TraversableGraph: Graph {
type Triples<'a>: Iterator<Item = Triple<&'a Self::Resource>>
where Self: 'a;
// Required method
fn triples(&self) -> Self::Triples<'_>;
// Provided method
fn triples_count(&self) -> usize { ... }
}
Required Associated Types§
Required Methods§
Provided Methods§
fn triples_count(&self) -> usize
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.