[][src]Module oxygengine::prelude

Modules

asset
changeset

Provides a changeset that can be collected from an iterator.

database
engines
error

Specs errors

fs
join

Joining of components for iteration over entities with specific components.

protocol
protocols
set
shred

Shared resource dispatcher

storage

Component storage types, implementations for component joins, etc.

system
world

Entities, resources, components, and general world management.

Structs

App
AppBuilder
AppLifeCycle
AppRunner
Asset
AssetsDatabase
AssetsSystem
BinaryAsset
BinaryAssetProtocol
BitSet

A BitSet is a simple set designed to track which indices are placed into it.

ChangeSet

Change set that can be collected from an iterator, and joined on for easy application to components.

DefaultLogger
DispatcherBuilder

Builder for the Dispatcher.

Entity

Entity type, as seen by the user.

EntityBuilder

The entity builder, allowing to build an entity together with its components.

FetchProcess
FsFetchEngine
Grid2d
Grid2dNeighborSample
HierarchyChangeRes
ID

Universal Identifier (uuidv4).

MapFetchEngine
Name
NoiseMapGenerator
NonPersistent
Parent
ReaderId

A reader ID which represents a subscription to the events pushed to the EventChannel.

SetAssetProtocol
StandardAppTimer
SyncAppRunner
Tag
VecStorage

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

Enums

AssetVariant
FetchCancelReason
FetchStatus
Grid2dError
LoadStatus
Log
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
BackendAppRunner
FetchEngine
FetchProcessReader
Join

The purpose of the Join trait is to provide a way to access multiple storages at the same time with the merged bit set.

Logger
State
Tracked

UnprotectedStorages that track modifications, insertions, and removals of components.

Functions

bundle_installer
hierarchy_find
logger_log
logger_setup

Type Definitions

FetchProcessID
HierarchyRes
Meta
ReadExpect

Allows to fetch a resource in a system immutably. This will panic if the resource does not exist. Usage of Read or Option<Read> is therefore recommended.

ReadStorage

A storage with read access.

StateToken