bevy/crates/bevy_ecs/src/schedule
JoJoJet 695d30bd54 Clean up marker generics for systems (#7789)
# Objective

While we use `#[doc(hidden)]` to try and hide marker generics from the user, these types reveal themselves in compiler errors, adding visual noise and confusion.

## Solution

Replace the `AlreadyWasSystem` marker generic with `()`, to reduce visual noise in error messages. This also makes it possible to return `impl Condition<()>` from combinators.

For function systems, use their function signature as the marker type. This should drastically improve the legibility of some error messages.  
The `InputMarker` type has been removed, since it is unnecessary.
2023-02-23 05:11:12 +00:00
..
executor Default to using ExecutorKind::SingleThreaded on wasm32 (#7717) 2023-02-17 00:22:56 +00:00
condition.rs Clean up marker generics for systems (#7789) 2023-02-23 05:11:12 +00:00
config.rs Use consistent names for marker generics (#7788) 2023-02-23 04:37:08 +00:00
graph_utils.rs Stageless: prettier cycle reporting (#7463) 2023-02-21 13:42:20 +00:00
mod.rs Add distributive_run_if to IntoSystemConfigs (#7724) 2023-02-18 21:33:09 +00:00
schedule.rs Use consistent names for marker generics (#7788) 2023-02-23 04:37:08 +00:00
set.rs change is_system_type() -> bool to system_type() -> Option<TypeId> (#7715) 2023-02-16 22:25:48 +00:00
state.rs Fix some typos (#7763) 2023-02-20 22:56:57 +00:00