Crate bevy_core[−][src]
Modules
prelude |
Structs
CorePlugin | Adds core functionality to Apps. |
DefaultTaskPoolOptions | 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. |
EntityLabels | Maintains a mapping from Entity ids to entity labels and entity labels to Entities. |
FixedTimestep | |
FixedTimestepState | |
FixedTimesteps | |
FloatOrd | 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. |
Labels | A collection of labels |
Name | Component used to identify an entity. Stores a hash for faster comparisons |
State | |
Stopwatch | A Stopwatch is a struct that track elapsed time when started. |
Time | Tracks elapsed time since the last update and since the App has started |
Timer | Tracks elapsed time. Enters the finished state once |
Enums
CoreSystem |
Traits
AsBytes | Reads the implementing type as a byte array reference |
Byteable | A trait that indicates that it is safe to cast the type to a byte array reference. |
Bytes | Converts the implementing type to bytes by writing them to a given buffer |
FromBytes | Converts a byte array to |
Derive Macros
Bytes | Derives the Bytes trait. Each field must also implements Bytes or this will fail. |