bevy/crates/bevy_ui/src
newclarityex ecccd57417
Generic system config (#17962)
# Objective
Prevents duplicate implementation between IntoSystemConfigs and
IntoSystemSetConfigs using a generic, adds a NodeType trait for more
config flexibility (opening the door to implement
https://github.com/bevyengine/bevy/issues/14195?).

## Solution
Followed writeup by @ItsDoot:
https://hackmd.io/@doot/rJeefFHc1x

Removes IntoSystemConfigs and IntoSystemSetConfigs, instead using
IntoNodeConfigs with generics.

## Testing
Pending

---

## Showcase
N/A

## Migration Guide
SystemSetConfigs -> NodeConfigs<InternedSystemSet>
SystemConfigs -> NodeConfigs<ScheduleSystem>
IntoSystemSetConfigs -> IntoNodeConfigs<InternedSystemSet, M>
IntoSystemConfigs -> IntoNodeConfigs<ScheduleSystem, M>

---------

Co-authored-by: Christian Hughes <9044780+ItsDoot@users.noreply.github.com>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2025-03-12 00:12:30 +00:00
..
experimental Change ChildOf to Childof { parent: Entity} and support deriving Relationship and RelationshipTarget with named structs (#17905) 2025-02-27 19:22:17 +00:00
layout Transform Propagation Optimization: Static Subtree Marking (#18093) 2025-03-09 19:29:01 +00:00
render extract_text_shadows camera query fix (#17930) 2025-03-10 21:22:14 +00:00
widget Fix Component require() IDE integration (#18165) 2025-03-06 02:44:47 +00:00
accessibility.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
focus.rs Store UI render target info locally per node (#17579) 2025-02-10 07:27:58 +00:00
geometry.rs Val::resolve doc comment fix (#18143) 2025-03-03 19:49:52 +00:00
lib.rs Add NodeImageMode to the UI prelude (#17848) 2025-02-13 19:48:45 +00:00
measurement.rs
picking_backend.rs Make Query::single (and friends) return a Result (#18082) 2025-03-02 19:51:56 +00:00
stack.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
ui_material.rs Fix Component require() IDE integration (#18165) 2025-03-06 02:44:47 +00:00
ui_node.rs UiTargetCamera doc comment correction (#18216) 2025-03-09 22:48:52 +00:00
update.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00