summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-12-01 16:55:58 +0100
committerHampusM <hampus@hampusmat.com>2026-12-01 16:55:58 +0100
commit8985ff5080c34cf4b07b814ed7a757311a5a332f (patch)
tree0254dd6f3692aa5b917d6d5c58ad452bab820830
parentc85704a484013f93c41ddc32c43834d45b6f9870 (diff)
refactor(engine-ecs): remove component::Parts::from_component_info
-rw-r--r--engine-ecs/src/component.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/engine-ecs/src/component.rs b/engine-ecs/src/component.rs
index 3320102..df495ce 100644
--- a/engine-ecs/src/component.rs
+++ b/engine-ecs/src/component.rs
@@ -272,18 +272,6 @@ pub struct Parts
impl Parts
{
- /// Creates components parts from the component information stored in
- /// `component_info`.
- #[must_use]
- pub fn from_component_info(component_info: &Info, id: Uid, data: Box<dyn Any>)
- -> Self
- {
- Self::builder()
- .component_info(component_info.clone())
- .is_sole(component_info.is_sole)
- .build_with_any_data(id, data)
- }
-
#[must_use]
pub fn builder() -> PartsBuilder
{