aboutsummaryrefslogtreecommitdiff
path: root/src/geometry/contact.rs
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-11-03 14:43:21 +0100
committerCrozet Sébastien <developer@crozet.re>2020-11-03 14:43:21 +0100
commit0cf59d78bda1669226f861e438d43a08b099d747 (patch)
tree001d68cfa4aea673b73f69d2f95f549a675ac195 /src/geometry/contact.rs
parent036a24614171eff0f99495b8b6f1c09e58cb4f9a (diff)
downloadrapier-0cf59d78bda1669226f861e438d43a08b099d747.tar.gz
rapier-0cf59d78bda1669226f861e438d43a08b099d747.tar.bz2
rapier-0cf59d78bda1669226f861e438d43a08b099d747.zip
Implement Clone for everything that can be cloned.
Diffstat (limited to 'src/geometry/contact.rs')
-rw-r--r--src/geometry/contact.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/geometry/contact.rs b/src/geometry/contact.rs
index 53e9064..a4a176e 100644
--- a/src/geometry/contact.rs
+++ b/src/geometry/contact.rs
@@ -172,6 +172,7 @@ impl Contact {
}
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
+#[derive(Clone)]
/// The description of all the contacts between a pair of colliders.
pub struct ContactPair {
/// The pair of colliders involved.