bevy/crates/bevy_ecs/src
Stepan Koltsov 4fba03b529
impl ExclusiveSystemParam for PhantomData (#11153)
# Objective

Implement `ExclusiveSystemParam` for `PhantomData`.

For the same reason `SystemParam` impl exists: to simplify writing
generic code.


786abbf3f5/crates/bevy_ecs/src/system/system_param.rs (L1557)

Also for consistency.

## Solution

`impl ExclusiveSystemParam for PhantomData`.

## Changelog
Added: PhantomData<T> now implements ExclusiveSystemParam.
2024-01-01 16:02:21 +00:00
..
entity Fix ci xvfb (#11143) 2023-12-30 09:07:31 +00:00
query Fix ci xvfb (#11143) 2023-12-30 09:07:31 +00:00
reflect Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
schedule Add missing colon in States documentation (#11064) 2023-12-22 17:19:31 +00:00
storage Fix ci xvfb (#11143) 2023-12-30 09:07:31 +00:00
system impl ExclusiveSystemParam for PhantomData (#11153) 2024-01-01 16:02:21 +00:00
world impl ExclusiveSystemParam for WorldId (#11164) 2024-01-01 15:59:53 +00:00
archetype.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
bundle.rs Allow #[derive(Bundle)] on tuple structs (take 3) (#10561) 2023-11-21 01:09:16 +00:00
change_detection.rs Rename some lifetimes (ResMut etc) for clarity (#11021) 2023-12-19 15:22:25 +00:00
component.rs Make ComponentId typed in Components (#10770) 2023-12-05 01:54:27 +00:00
event.rs Explain EventWriter limits concurrency (#11063) 2023-12-24 17:45:21 +00:00
lib.rs Rename WorldQueryData & WorldQueryFilter to QueryData & QueryFilter (#10779) 2023-12-12 19:45:50 +00:00
removal_detection.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00