my_ecs/ds/
mod.rs

1//! Crate-agnostic general data structures.
2//!
3//! This module provides general data structures you can use regardless of ECS.
4//! The data structures might not be used directly on client code, but it may be
5//! useful for general need. For instance, [`AnyVec`] in this module is a vector
6//! which is able to contain type-erased values. That is useful when you need
7//! to store vectors of various types in a single variable.
8
9mod arr;
10mod borrow;
11mod fut;
12mod list;
13mod map;
14mod ptr;
15mod queue;
16mod raw;
17mod signal;
18mod types;
19mod vec;
20
21pub use arr::*;
22pub use borrow::*;
23pub use fut::*;
24pub use list::*;
25pub use map::*;
26pub use ptr::*;
27pub use queue::*;
28pub use raw::*;
29pub use signal::*;
30pub use types::*;
31pub use vec::*;
32
33/// Imports things that is likely needed in ECS functinos.
34pub mod prelude {
35    pub use super::types::*;
36}