diff options
Diffstat (limited to 'ecs/src/component.rs')
-rw-r--r-- | ecs/src/component.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ecs/src/component.rs b/ecs/src/component.rs index 222c5fe..4bf38e7 100644 --- a/ecs/src/component.rs +++ b/ecs/src/component.rs @@ -69,23 +69,6 @@ pub trait Sequence fn into_parts_array(self) -> Self::PartsArray; } -/// [`Component`] metadata. -#[derive(Debug, Clone)] -#[non_exhaustive] -pub struct Metadata -{ - pub id: Uid, -} - -impl Metadata -{ - #[must_use] - pub fn of<ComponentT: Component>() -> Self - { - Self { id: ComponentT::id() } - } -} - pub trait HandleFromEntityComponentRef<'comp>: Sized { type Error: Error; |