bevy/crates/bevy_ecs/src/storage
Joy 4c878ef790 Add comparison methods to FilteredAccessSet (#4211)
# Objective

- (Eventually) reduce noise in reporting access conflicts between unordered systems. 
	- `SystemStage` only looks at unfiltered `ComponentId` access, any conflicts reported are potentially `false`.
		- the systems could still be accessing disjoint archetypes
	- Comparing systems' filtered access sets can maybe avoid that (for statically known component types).
		- #4204

## Solution

- Modify `SparseSetIndex` trait to require `PartialEq`, `Eq`, and `Hash` (all internal types except `BundleId` already did).
- Add `is_compatible` and `get_conflicts` methods to `FilteredAccessSet<T>`
	- (existing method renamed to `get_conflicts_single`)
- Add docs for those and all the other methods while I'm at it.
2022-05-09 14:39:22 +00:00
..
blob_vec.rs some cleanup for bevy_ptr (#4668) 2022-05-06 19:15:24 +00:00
mod.rs Basic docs for Storages (#3391) 2021-12-20 20:50:51 +00:00
sparse_set.rs Add comparison methods to FilteredAccessSet (#4211) 2022-05-09 14:39:22 +00:00
table.rs bevy_ptr standalone crate (#4653) 2022-05-04 19:16:10 +00:00