[][src]Module shine_ecs::resources::named

Structs

Index

Reference counted index to access stored items in O(1). Eventough index has a (mutable) reference to the data, to aquire it, a properly locked store is required. The referenced data is private implementation detail that shall never be exposed to the client. It is used only as an index and acessing the referenced data is not safe as other thread may update it.

ReadGuard

Guarded read access to a store

ReadNamedStore

Grant immutable access to a named store inside a System

Store

A thing wrapper around InnerStore to make it more ergonomic to the world.

WriteGuard

Guarded update access to a store

WriteNamedStore

Grant mutable access to a named store inside a System

Traits

Data

Data stored in the Store