bevy/crates/bevy_ecs/src
David Sugar c641a905dc StorageType parameter removed from ComponentDescriptor::new_resource (#3495)
# Objective

Remove the `StorageType` parameter from `ComponentDescriptor::new_resource` as discussed in #3361.

- fixes #3361

## Solution

- Parameter removed.
- Basic docs added.

## Note

Left a [comment](https://github.com/bevyengine/bevy/issues/3361#issuecomment-996433346) about `SparseStorage` being the more reasonable choice.



Co-authored-by: r4gus <david@thesugar.de>
2021-12-30 20:08:40 +00:00
..
entity Renamed Entity::new to Entity::from_raw (#3465) 2021-12-29 20:49:00 +00:00
query add methods to get reads and writes of Access<T> (#3166) 2021-12-11 23:16:01 +00:00
schedule add tracing spans for parallel executor and system overhead (#3416) 2021-12-23 19:03:44 +00:00
storage Renamed Entity::new to Entity::from_raw (#3465) 2021-12-29 20:49:00 +00:00
system remove some mut in queries (#3437) 2021-12-26 05:39:46 +00:00
world Fix double drop in BlobVec::replace_unchecked (#2597) (#2848) 2021-12-18 21:29:24 +00:00
archetype.rs Improve bevy_ecs and bevy_app API docs where referenced by the new Bevy Book (#2365) 2021-09-17 18:00:29 +00:00
bundle.rs Fix clippy lints for 1.57 (#3238) 2021-12-02 23:40:37 +00:00
change_detection.rs default features from bevy_asset and bevy_ecs can actually be disabled (#3097) 2021-11-13 21:15:22 +00:00
component.rs StorageType parameter removed from ComponentDescriptor::new_resource (#3495) 2021-12-30 20:08:40 +00:00
event.rs Implement and require #[derive(Component)] on all component structs (#2254) 2021-10-03 19:23:44 +00:00
lib.rs Renamed Entity::new to Entity::from_raw (#3465) 2021-12-29 20:49:00 +00:00
reflect.rs Add FromReflect trait to convert dynamic types to concrete types (#1395) 2021-12-26 18:49:01 +00:00