bevy/crates/bevy_ui/src/layout
Paul Mattern 854934c380
one shot system cleanup (#16516)
# Objective

- Fixes #16497
- This is my first PR, so I'm still learning to contribute to the
project

## Solution

- Added struct `UnregisterSystemCached` and function
`unregister_system_cached`
- renamed `World::run_system_with_input` to `run_system_with`
- reordered input parameters for `World::run_system_once_with`

## Testing

- Added a crude test which registers a system via
`World::register_system_cached`, and removes it via
`Command::unregister_system_cached`.

## Migration Guide

- Change all occurrences of `World::run_system_with_input` to
`World::run_system_with`.
- swap the order of input parameters for `World::run_system_once_with`
such that the system comes before the input.

---------

Co-authored-by: Paul Mattern <mail@paulmattern.dev>
2024-12-10 17:59:42 +00:00
..
convert.rs Remove the min and max fields from LayoutContext. (#16459) 2024-12-03 19:39:45 +00:00
debug.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
mod.rs one shot system cleanup (#16516) 2024-12-10 17:59:42 +00:00
ui_surface.rs ✏️ Fix typos across bevy (#16702) 2024-12-08 01:18:39 +00:00