apecs/
lib.rs

1//! Welcome to the *A*syncronous and *P*leasant *E*ntity *C*omponent *S*ystem 😊
2//!
3//! `apecs` is a flexible and well-performing entity-component-system that plays nice with async runtimes.
4//!
5//! It's best to start learning about `apecs` from the [`World`], but if you
6//! just want some examples please check out the [readme](https://github.com/schell/apecs#readme)
7#![allow(clippy::type_complexity)]
8
9mod entity;
10mod facade;
11mod storage;
12mod world;
13
14pub use apecs_derive::Edges;
15pub use entity::*;
16pub use facade::{Facade, FacadeSchedule};
17pub use moongraph::{
18    end, err, graph, ok, Edges, Graph, GraphError, Move, NodeResults, TypeKey, TypeMap, View,
19    ViewMut, NoDefault,
20};
21pub use storage::{
22    Components, Entry, IsBundle, IsQuery, LazyComponents, Maybe, MaybeMut, MaybeRef, Mut, Query,
23    QueryGuard, QueryIter, Ref, Without,
24};
25pub use world::{current_iteration, Parallelism, World};
26
27#[cfg(doctest)]
28pub mod doctest {
29    #[doc = include_str!("../../../README.md")]
30    pub struct ReadmeDoctests;
31}