Implement Clone for everything that can be cloned.

This commit is contained in:
Crozet Sébastien
2020-11-03 14:43:21 +01:00
parent 036a246141
commit 0cf59d78bd
14 changed files with 51 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ pub(crate) struct RemovedCollider {
}
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
#[derive(Clone)]
/// A set of colliders that can be handled by a physics `World`.
pub struct ColliderSet {
pub(crate) removed_colliders: PubSub<RemovedCollider>,