[][src]Crate async_ecs

Re-exports

pub use asparit;
pub use access::Read;
pub use access::ReadStorage;
pub use access::Write;
pub use access::WriteStorage;
pub use component::Component;
pub use dispatcher::Dispatcher;
pub use entity::Builder;
pub use join::Join;
pub use join::ParJoin;
pub use resource::ResourceId;
pub use resource::Resources;
pub use system::AsyncSystem;
pub use system::System;
pub use world::World;

Modules

access
component
dispatcher
entity
error
join
misc
resource
storage
system
world

Structs

DenseVecStorage

Dense vector storage. Has a redirection 2-way table between entities and components, allowing to leave no gaps within the data.

HashMapStorage

HashMap-based storage. Best suited for rare components.

Lazy

Lazy updates can be used for world updates that need to borrow a lot of resources and as such should better be done at the end. They work lazily in the sense that they are dispatched when calling world.maintain().

MetaTable

The MetaTable which allows to store object-safe trait implementations for resources.

VecStorage

Vector storage. Uses a simple Vec. Supposed to have maximum performance for the components mostly present in entities.

Traits

CastFrom

Helper trait for the MetaTable. This trait is required to be implemented for a trait to be compatible with the meta table.

Type Definitions

Entities