From 7aa94e994f27a27fb193cff9a13b2a3beae09a83 Mon Sep 17 00:00:00 2001 From: Jamen Marz Date: Tue, 21 Sep 2021 11:25:54 -0600 Subject: Impl Default for a few structs --- src/dynamics/joint/joint_set.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dynamics/joint') diff --git a/src/dynamics/joint/joint_set.rs b/src/dynamics/joint/joint_set.rs index 01e0d27..aba2aa8 100644 --- a/src/dynamics/joint/joint_set.rs +++ b/src/dynamics/joint/joint_set.rs @@ -37,7 +37,7 @@ pub(crate) type JointIndex = usize; pub(crate) type JointGraphEdge = crate::data::graph::Edge; #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] -#[derive(Clone)] +#[derive(Clone, Default)] /// A set of joints that can be handled by a physics `World`. pub struct JointSet { rb_graph_ids: Coarena, -- cgit