diff options
| author | HampusM <hampus@hampusmat.com> | 2026-06-07 12:33:13 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-06-07 12:33:23 +0200 |
| commit | f4e4397364cef3536806cadd5f08e0317650eafc (patch) | |
| tree | 1c47dd0c6dd26b7a4ce28c981bd6d0a117e92721 /engine-ecs/src/component.rs | |
| parent | 3f099cddf16f2e7e002cc24217ed3cc5da422156 (diff) | |
feat(engine-ecs): rename component::Type to Info & add name field
Diffstat (limited to 'engine-ecs/src/component.rs')
| -rw-r--r-- | engine-ecs/src/component.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine-ecs/src/component.rs b/engine-ecs/src/component.rs index f881128..2734731 100644 --- a/engine-ecs/src/component.rs +++ b/engine-ecs/src/component.rs @@ -334,7 +334,8 @@ impl Default for PartsBuilder } #[derive(Debug, Clone, Component)] -pub struct Type +pub struct Info { pub type_reflection: &'static crate::reflection::Type, + pub name: &'static str, } |
