From b35d5288c3169de38fd13a0c3000c251cd8f8195 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 2 Dec 2026 16:55:17 +0100 Subject: feat(engine-ecs): add module path to component::Info --- engine-ecs/src/sole.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine-ecs/src/sole.rs') 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 /// 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. -- cgit v1.2.3-18-g5258