pub trait GraphEdgeAccess<const E: usize> {
type Edge;
// Required methods
fn edge_ref(&self) -> &Self::Edge;
fn edge_mut(&mut self) -> &mut Self::Edge;
}Expand description
Provides indexed access to a graph edge.
This trait is implemented by graph container types to allow compile-time access to a specific edge by index.
§Type Parameters
E: The compile-time index of the edge within the graph.