bevy/crates/bevy_app/src
MichiRecRoom 4a681c3f05
Expose access to SubApps within App (#16952)
# Objective
`SubApps` is visible within the documentation for `bevy_app`. However,
no way of accessing the `SubApps` field in `App` is currently available.

## Solution
Expose two new functions, `App::sub_apps()` and `App::sub_apps_mut()`,
which give immutable and mutable access to `SubApps` respectively.

The other solution is to hide `SubApps`, which I submitted as a PR at
<https://github.com/bevyengine/bevy/pull/16953>.

## Testing
Because of the simplicity of the changes, I only tested by compiling
`bevy_app` - which compiled successfully.

Note: `SubApps`, and its corresponding field on `App`, are not used
outside of `bevy_app` - which means that compiling the other crates is
not necessary.
2024-12-24 06:15:16 +00:00
..
app.rs Expose access to SubApps within App (#16952) 2024-12-24 06:15:16 +00:00
lib.rs Remove bevy_core (#16897) 2024-12-19 18:36:51 +00:00
main_schedule.rs Add no_std support to bevy_app (#16874) 2024-12-18 22:04:45 +00:00
panic_handler.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
plugin_group.rs Add no_std support to bevy_app (#16874) 2024-12-18 22:04:45 +00:00
plugin.rs Add no_std support to bevy_app (#16874) 2024-12-18 22:04:45 +00:00
schedule_runner.rs Add no_std support to bevy_app (#16874) 2024-12-18 22:04:45 +00:00
sub_app.rs Add no_std support to bevy_app (#16874) 2024-12-18 22:04:45 +00:00
task_pool_plugin.rs Remove bevy_core (#16897) 2024-12-19 18:36:51 +00:00
terminal_ctrl_c_handler.rs Add no_std support to bevy_app (#16874) 2024-12-18 22:04:45 +00:00