From 0cf59d78bda1669226f861e438d43a08b099d747 Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Tue, 3 Nov 2020 14:43:21 +0100 Subject: Implement Clone for everything that can be cloned. --- src/geometry/interaction_graph.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/geometry/interaction_graph.rs') diff --git a/src/geometry/interaction_graph.rs b/src/geometry/interaction_graph.rs index c0cf093..2abb6d1 100644 --- a/src/geometry/interaction_graph.rs +++ b/src/geometry/interaction_graph.rs @@ -10,6 +10,7 @@ pub type TemporaryInteractionIndex = EdgeIndex; /// A graph where nodes are collision objects and edges are contact or proximity algorithms. #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] +#[derive(Clone)] pub struct InteractionGraph { pub(crate) graph: Graph, } -- cgit