From 18245b9955641aa3359d5da14b78e0b4bcb353f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Tue, 5 May 2026 22:37:32 +0200 Subject: [PATCH] Add Copy and Eq traits to GraphTopology::Edge --- src/traits.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/traits.rs b/src/traits.rs index ffb2cc1..a767df0 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -5,7 +5,7 @@ // TODO: Split out GraphTopologyAddition trait. pub trait GraphTopology { type Vertex: Copy + Eq; - type Edge; + type Edge: Copy + Eq; fn vertex_count(&self) -> usize; fn edge_count(&self) -> usize;