summaryrefslogtreecommitdiff
path: root/ecs/src/entity.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-09-24 14:41:50 +0200
committerHampusM <hampus@hampusmat.com>2025-09-25 22:42:13 +0200
commit8d76fe6be211dfc8fc57d4e2f7e312e757ca899c (patch)
treedef2d5fe4add23fa4f5557170363d16af1314812 /ecs/src/entity.rs
parent463f5df64005e63142f1e05bc973dd81d7cd793f (diff)
refactor(ecs): improve pair with wildcard API
Diffstat (limited to 'ecs/src/entity.rs')
-rw-r--r--ecs/src/entity.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/entity.rs b/ecs/src/entity.rs
index 6ee5ad8..d7e5945 100644
--- a/ecs/src/entity.rs
+++ b/ecs/src/entity.rs
@@ -18,7 +18,7 @@ use crate::{EntityComponentRef, World};
pub mod obtainer;
/// A handle to a entity.
-#[derive(Debug)]
+#[derive(Debug, Clone)]
pub struct Handle<'a>
{
archetype: &'a Archetype,