diff options
| author | HampusM <hampus@hampusmat.com> | 2026-12-02 16:55:17 +0100 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-12-02 16:55:17 +0100 |
| commit | b35d5288c3169de38fd13a0c3000c251cd8f8195 (patch) | |
| tree | 1805ce04d1d5c57a0a40719f31e62b206acf6189 /engine-ecs/src/sole.rs | |
| parent | acb55235c1baed08a106bce3abc5b95b5a12e7aa (diff) | |
Diffstat (limited to 'engine-ecs/src/sole.rs')
| -rw-r--r-- | engine-ecs/src/sole.rs | 3 |
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. |
