mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 22:18:33 +00:00
# Objective - Fixes #751 ## Solution - Added `PluginGroupBuilder::add_group`, which accepts an owned `impl PluginGroup` and adds those plugins to self, following `PluginGroupBuilder::add`'s replacement rules. - Split `PluginGroupBuilder::upsert_plugin_state` into two functions, one of the same name, and `PluginGroupBuilder::upsert_plugin_entry_state` which takes a `PluginEntry` and `TypeId` directly. This allows for shared behaviour between `add` and `add_group`. - Added 2 unit tests documenting the replacement behaviour in `PluginGroupBuilder::add_group`. Co-authored-by: François <mockersf@gmail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |