Trait NumberedGraph

Source
pub trait NumberedGraph: Graph
where for<'a> <Self as GraphType>::Node<'a>: Indexable, for<'a> <Self as GraphType>::Edge<'a>: Indexable,
{ }
Expand description

Marker trait for graphs with directly numbered nodes and edges.

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.

Implementors§

Source§

impl<G> NumberedGraph for G
where G: Graph, for<'a> G::Node<'a>: Indexable, for<'a> G::Edge<'a>: Indexable,