pub type EntityId = usize;
trait Entity {}
impl Entity for EntityId {}
#[derive(Debug)]
pub enum ComponentAddSuccess {
NewType,
ExistingType,
}
#[derive(Debug)]
pub enum ComponentAddError {
ComponentExistsOnEntity,
}
#[derive(Debug)]
pub enum ComponentSetError {
ComponentDoesNotExistOnEntity,
}