bevy/crates/bevy_gizmos/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
..
primitives Improve Segment2d/Segment3d API and docs (#18206) 2025-03-09 20:21:31 +00:00
aabb.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
arcs.rs Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
arrows.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
circles.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
config.rs don't use bevy_pbr for base bevy_gizmos plugin (#17581) 2025-03-10 21:16:52 +00:00
cross.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
curves.rs Refactor non-core Curve methods into extension traits (#16930) 2024-12-29 19:26:49 +00:00
gizmos.rs Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
grid.rs Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
lib.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
light.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
line_joints.wgsl Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
lines.wgsl Add dashed lines (#16884) 2024-12-18 20:43:58 +00:00
pipeline_2d.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
pipeline_3d.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
retained.rs don't use bevy_pbr for base bevy_gizmos plugin (#17581) 2025-03-10 21:16:52 +00:00
rounded_box.rs Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
view.rs don't use bevy_pbr for base bevy_gizmos plugin (#17581) 2025-03-10 21:16:52 +00:00