1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use std::any::TypeId; use crate::entity::Entity; /// Not found error. #[derive(Debug, PartialEq, Eq)] pub enum NotFound { /// Entity could not be found Entity(Entity), /// Component could not be found Component(TypeId), /// EntitySystem could not be found EntitySystem(u32), /// Unkown error Unkown(String) }