bevy/crates/bevy_asset/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
..
io Make asset watcher work when path contains "../" (#18023) 2025-03-02 18:15:27 +00:00
processor Stop automatically generating meta files for assets while using asset processing. (#17216) 2025-03-06 20:25:40 +00:00
server Stop automatically generating meta files for assets while using asset processing. (#17216) 2025-03-06 20:25:40 +00:00
asset_changed.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
assets.rs Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
direct_access_ext.rs Improve clarity of existing bevy_assets documentation (#17830) 2025-02-13 19:49:25 +00:00
event.rs Fill out some missing docs for bevy_assets (#17829) 2025-02-13 21:08:09 +00:00
folder.rs Fill out some missing docs for bevy_assets (#17829) 2025-02-13 21:08:09 +00:00
handle.rs Fill out some missing docs for bevy_assets (#17829) 2025-02-13 21:08:09 +00:00
id.rs Fill out some missing docs for bevy_assets (#17829) 2025-02-13 21:08:09 +00:00
lib.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
loader_builders.rs Remove labeled_assets from LoadedAsset and ErasedLoadedAsset (#15481) 2025-02-10 21:06:37 +00:00
loader.rs Make adding a subasset label return a result for if there is a duplicate label. (#18013) 2025-02-24 21:51:40 +00:00
meta.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
path.rs Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
reflect.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
render_asset.rs Fill out some missing docs for bevy_assets (#17829) 2025-02-13 21:08:09 +00:00
saver.rs Remove labeled_assets from LoadedAsset and ErasedLoadedAsset (#15481) 2025-02-10 21:06:37 +00:00
transformer.rs Fill out some missing docs for bevy_assets (#17829) 2025-02-13 21:08:09 +00:00