my_ecs/default/
resource.rs1use crate::{
4 ds::{
5 AnyVec, ChunkAnyVec, GenQueue, GroupMap, IndexedMap, OptVec, SetList, SetValueList,
6 SimpleVecPool,
7 },
8 ecs::resource::Resource,
9};
10
11impl Resource for AnyVec {}
12impl Resource for ChunkAnyVec {}
13impl<T, S> Resource for OptVec<T, S>
14where
15 T: Send + 'static,
16 S: Send + 'static,
17{
18}
19impl<T> Resource for SimpleVecPool<T> where T: Send + 'static {}
20impl<K, V, S> Resource for SetList<K, V, S>
21where
22 K: Send + 'static,
23 V: Send + 'static,
24 S: Send + 'static,
25{
26}
27impl<V, S> Resource for SetValueList<V, S>
28where
29 V: Send + 'static,
30 S: Send + 'static,
31{
32}
33impl<GK, GV, IK, IV, S> Resource for GroupMap<GK, GV, IK, IV, S>
34where
35 GK: Send + 'static,
36 GV: Send + 'static,
37 IK: Send + 'static,
38 IV: Send + 'static,
39 S: Send + 'static,
40{
41}
42impl<K, V, S, const IMAP: bool> Resource for IndexedMap<K, V, S, IMAP>
43where
44 K: Send + 'static,
45 V: Send + 'static,
46 S: Send + 'static,
47{
48}
49impl<T> Resource for GenQueue<T> where T: Send + 'static {}