Expand description
This crate provides core functionality for Bevy Engine.
Modules
- The Bevy Core Prelude.
Structs
- Convenient query for giving a human friendly name to an entity.
- Automatically generated [
WorldQuery
] item type forDebugName
, returned when iterating over query results. - Maintains a count of frames rendered since the start of the application.
- Adds frame counting functionality to Apps.
- Component used to identify an entity. Stores a hash for faster comparisons.
- A dummy type that is
!Send
, to force systems to run on the main thread. - Helper for configuring and creating the default task pools. For end-users who want full control, set up
TaskPoolPlugin
- Defines a simple way to determine how many threads to use given the number of remaining cores and number of total cores
- Registration of default types to the
TypeRegistry
resource.
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]
. - A system used to increment
FrameCount
with wrapping addition.
Derive Macros
- Derive the
Pod
trait for a struct - Derive the
Zeroable
trait for a struct