Module bevy::app

source ·
Expand description

Build bevy apps, create plugins, and read events.

Modules

Structs

A container of app logic and data.
An event that indicates the App should exit. This will fully exit the app process at the start of the next tick of the schedule.
A strongly-typed identifier for an AppLabel.
The Resource that stores the App’s TypeRegistry.
Facilitates the creation and configuration of a PluginGroup. Provides a build ordering to ensure that Plugins which produce/require a Resource are built before/after dependent/depending Plugins. Plugins inside the group can be disabled, enabled or reordered.
Configures an App to run its Schedule according to a given RunMode.
The configuration information for the ScheduleRunnerPlugin.
The label for the startup Schedule, which runs once at the beginning of the App.

Enums

The names of the default App stages.
Determines the method used to run an App’s Schedule.
The names of the default App startup stages.

Traits

A strongly-typed class of labels used to identify an App.
A collection of Bevy app logic and configuration.
Combines multiple Plugins into a single unit.

Type Definitions

A type representing an unsafe function that returns a mutable pointer to a Plugin. It is used for dynamically loading plugins.

Derive Macros

Generates an impl of the AppLabel trait.
Generates a dynamic plugin entry point function for the given Plugin type.