use crate::{
component::Component,
entities::Null,
entity,
entity::Entity,
};
use alloc::vec::Vec;
pub trait Contains {
type Entity: Entity;
}
impl Contains for Null {
type Entity = entity::Null;
}
impl<C, E> Contains for (Vec<C>, E)
where
C: Component,
E: Contains,
{
type Entity = (C, E::Entity);
}