From b2a130a6e30b82a7e0f80347f916265a467a4238 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 1 Dec 2026 17:42:12 +0100 Subject: refactor(engine-ecs): replace component::IntoParts with std From/Into traits --- engine-ecs/src/bundle.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine-ecs/src/bundle.rs') diff --git a/engine-ecs/src/bundle.rs b/engine-ecs/src/bundle.rs index 4c13599..b0c0b50 100644 --- a/engine-ecs/src/bundle.rs +++ b/engine-ecs/src/bundle.rs @@ -1,6 +1,6 @@ use seq_macro::seq; -use crate::component::{IntoParts as IntoComponentParts, Parts as ComponentParts}; +use crate::component::Parts as ComponentParts; pub trait Bundle: 'static { @@ -31,10 +31,10 @@ seq!(C in 0..17 { gen_tuple_impls!(C); }); -impl Bundle for T +impl + 'static> Bundle for T { fn iter_component_parts(self) -> impl Iterator { - [self.into_parts()].into_iter() + [self.into()].into_iter() } } -- cgit v1.2.3-18-g5258