[−][src]Module oxygengine::prelude
Modules
asset | |
binary | |
changeset | Provides a changeset that can be collected from an iterator. |
database | |
engines | |
error | Specs errors |
join | Joining of components for iteration over entities with specific components. |
map | |
protocol | |
protocols | |
shred | Shared resource dispatcher |
storage | Component storage types, implementations for component joins, etc. |
system | |
text | |
world | Entities, resources, components, and general world management. |
Structs
App | |
AppBuilder | |
AppLifeCycle | |
AppRunner | |
Asset | |
BinaryAsset | |
BinaryAssetProtocol | |
BitSet | A |
Dispatcher | The dispatcher struct, allowing systems to be executed in parallel. |
DispatcherBuilder | Builder for the |
EmptyState | |
Entity |
|
FetchProcess | |
ID | Universal Identifier (uuidv4). |
LazyUpdate | 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 |
MapFetchEngine | |
Parent | |
ReaderId | The reader id is used by readers to tell the storage where the last read ended. |
SetAssetProtocol | |
StandardAppTimer | |
StaticAccessor | The static accessor that is used for |
Storage | A wrapper around the masked storage and the generations vector.
Can be used for safe lookup of components, insertions and removes.
This is what |
SyncAppRunner | |
Tag | |
TextAsset | |
TextAssetProtocol | |
Write | Allows to fetch a resource in a system mutably. |
Enums
FetchCancelReason | |
FetchStatus | |
StateChange |
Traits
Accessor | A trait for accessing read/write multiple resources from a system. This can be used to create dynamic systems that don't specify what they fetch at compile-time. |
AppTimer | |
AssetProtocol | |
BackendAppRunner | |
Builder | A common trait for |
Component | Abstract component type. Doesn't have to be Copy or even Clone. |
FetchEngine | |
FetchProcessReader | |
RunNow | Trait for fetching data and running systems. Automatically implemented for systems. |
State | |
System | A |
SystemData | A static system data that can specify its dependencies at statically (at compile-time).
Most system data is a |
Functions
bundle_installer |
Type Definitions
FetchProcessID | |
HierarchyRes | |
ReadExpect | Allows to fetch a resource in a system immutably.
This will panic if the resource does not exist.
Usage of |
WriteExpect | Allows to fetch a resource in a system mutably.
This will panic if the resource does not exist.
Usage of |
WriteStorage | A storage with read and write access. |