1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
use std::{
any::{Any, TypeId},
cell::{Cell, UnsafeCell},
collections::{HashMap, HashSet},
fmt::Debug,
marker::PhantomData,
ops::{Deref, DerefMut},
};
#[allow(unused_imports)]
use crate as ecs;
pub use geng_ecs_derive::*;
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct Id(u32);
pub trait Component: Sized + 'static {}
impl<T: 'static> Component for T {}
mod entity;
mod fetch;
mod filter;
mod query;
mod storage;
pub mod util;
mod world;
pub use entity::*;
pub use fetch::*;
pub use filter::*;
pub use query::*;
use util::*;
pub use world::*;