diff options
-rw-r--r-- | ecs-macros/src/lib.rs | 2 | ||||
-rw-r--r-- | ecs/src/component.rs | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/ecs-macros/src/lib.rs b/ecs-macros/src/lib.rs index a5acc2b..5aa4405 100644 --- a/ecs-macros/src/lib.rs +++ b/ecs-macros/src/lib.rs @@ -128,8 +128,6 @@ pub fn component_derive(input: TokenStream) -> TokenStream impl #impl_generics Component for #item_ident #type_generics #where_clause { - type Component = Self; - type HandleMut<'component> = #handle_mut_type; type Handle<'component> = #handle_type; diff --git a/ecs/src/component.rs b/ecs/src/component.rs index 49265b3..4516b93 100644 --- a/ecs/src/component.rs +++ b/ecs/src/component.rs @@ -28,11 +28,6 @@ pub(crate) mod storage; pub trait Component: SystemInput + Any { - /// The component type in question. Will usually be `Self` - type Component: Component - where - Self: Sized; - type HandleMut<'component>: HandleFromEntityComponentRef<'component> where Self: Sized; |