diff options
| author | HampusM <hampus@hampusmat.com> | 2026-12-01 16:55:58 +0100 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-12-01 16:55:58 +0100 |
| commit | 8985ff5080c34cf4b07b814ed7a757311a5a332f (patch) | |
| tree | 0254dd6f3692aa5b917d6d5c58ad452bab820830 /engine-ecs/src | |
| parent | c85704a484013f93c41ddc32c43834d45b6f9870 (diff) | |
refactor(engine-ecs): remove component::Parts::from_component_info
Diffstat (limited to 'engine-ecs/src')
| -rw-r--r-- | engine-ecs/src/component.rs | 12 |
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 { |
