summaryrefslogtreecommitdiff
path: root/engine-ecs/src/sole.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-12-02 16:55:17 +0100
committerHampusM <hampus@hampusmat.com>2026-12-02 16:55:17 +0100
commitb35d5288c3169de38fd13a0c3000c251cd8f8195 (patch)
tree1805ce04d1d5c57a0a40719f31e62b206acf6189 /engine-ecs/src/sole.rs
parentacb55235c1baed08a106bce3abc5b95b5a12e7aa (diff)
feat(engine-ecs): add module path to component::InfoHEADmaster
Diffstat (limited to 'engine-ecs/src/sole.rs')
-rw-r--r--engine-ecs/src/sole.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine-ecs/src/sole.rs b/engine-ecs/src/sole.rs
index 568be3e..1430cc2 100644
--- a/engine-ecs/src/sole.rs
+++ b/engine-ecs/src/sole.rs
@@ -19,6 +19,9 @@ pub trait Sole: Any + ComponentWithAssociatedId + Into<ComponentParts>
/// Returns the name of this component.
fn name() -> Cow<'static, str>;
+
+ /// Returns the module path of this component.
+ fn module_path() -> &'static str;
}
/// Marker component for the entities of soles.