Crate bevy_core[][src]

Expand description

This crate provides core functionality for Bevy Engine.

Modules

The Bevy Core Prelude.

Structs

Adds core functionality to Apps.

Helper for configuring and creating the default task pools. For end-users who want full control, insert the default task pools into the resource map manually. If the pools are already inserted, this helper will do nothing.

A system run criteria that enables systems or stages to run at a fixed timestep between executions.

The internal state of each FixedTimestep.

A global resource that tracks the individual FixedTimestepStates for every labeled FixedTimestep.

A wrapper type that enables ordering floats. This is a work around for the famous “rust float ordering” problem. By using it, you acknowledge that sorting NaN is undefined according to spec. This implementation treats NaN as the “smallest” float.

Component used to identify an entity. Stores a hash for faster comparisons The hash is eagerly re-computed upon each update to the name.

A Stopwatch is a struct that track elapsed time when started.

Tracks elapsed time since the last update and since the App has started

Tracks elapsed time. Enters the finished state once duration is reached.

Enums

A SystemLabel enum for ordering systems relative to core Bevy systems.

Traits

Marker trait for “plain old data”.

Trait for types that can be safely created with zeroed.

Functions

Re-interprets &T as &[u8].

Cast &[A] into &[B].