bevy/crates
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
..
bevy_app Fix doc_markdown lints in bevy_app (#3467) 2021-12-30 09:08:19 +00:00
bevy_asset Fix doc_markdown lints in bevy_asset (#3468) 2021-12-29 17:52:39 +00:00
bevy_audio Fix doc_markdown lints in bevy_audio (#3469) 2021-12-29 17:52:42 +00:00
bevy_core Rename fixed timestep state and add a test (#3260) 2021-12-12 21:26:40 +00:00
bevy_core_pipeline make sub_app return an &App and add sub_app_mut() -> &mut App (#3309) 2021-12-24 06:57:30 +00:00
bevy_crevice crevice derive macro: fix path to render_resource when importing from bevy (#3438) 2021-12-26 19:04:02 +00:00
bevy_derive remove dead code: ShaderDefs derive (#3490) 2021-12-29 21:04:29 +00:00
bevy_diagnostic Fix doc_markdown lints in bevy_diagnostic (#3472) 2021-12-29 17:38:08 +00:00
bevy_dylib Update to edition 2021 on master (#3028) 2021-10-27 00:12:14 +00:00
bevy_dynamic_plugin Update to edition 2021 on master (#3028) 2021-10-27 00:12:14 +00:00
bevy_ecs StorageType parameter removed from ComponentDescriptor::new_resource (#3495) 2021-12-30 20:08:40 +00:00
bevy_ecs_compile_fail_tests Fix clippy lints for 1.57 (#3238) 2021-12-02 23:40:37 +00:00
bevy_gilrs enable wasm-bindgen feature on gilrs (#3420) 2021-12-23 19:19:14 +00:00
bevy_gltf Fix doc_markdown lints in bevy_gltf (#3474) 2021-12-29 17:38:09 +00:00
bevy_input Fix doc_markdown lints in bevy_input (#3475) 2021-12-29 17:38:10 +00:00
bevy_internal enable Webgl2 optimisation in pbr under feature (#3291) 2021-12-22 20:59:48 +00:00
bevy_log Fix doc_markdown lints in bevy_log (#3476) 2021-12-29 17:38:11 +00:00
bevy_macro_utils Prepare crevice for vendored release (#3394) 2021-12-23 22:49:12 +00:00
bevy_math Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
bevy_pbr Fix doc_markdown lints in bevy_pbr (#3477) 2021-12-29 19:04:18 +00:00
bevy_reflect Implement ReflectValue serialization for Duration (#3318) 2021-12-29 21:04:26 +00:00
bevy_render load spirv using correct API (#3466) 2021-12-30 19:55:01 +00:00
bevy_scene Renamed Entity::new to Entity::from_raw (#3465) 2021-12-29 20:49:00 +00:00
bevy_sprite Fix doc_markdown lints in bevy_sprite (#3480) 2021-12-29 18:49:43 +00:00
bevy_tasks Fix doc_markdown lints in bevy_tasks (#3481) 2021-12-29 17:38:13 +00:00
bevy_text Add FromReflect trait to convert dynamic types to concrete types (#1395) 2021-12-26 18:49:01 +00:00
bevy_transform Fix doc_markdown lints in bevy_transform (#3483) 2021-12-30 09:23:17 +00:00
bevy_ui bevy_ui: Check clip when handling interactions (#3461) 2021-12-28 20:47:45 +00:00
bevy_utils Fix doc_markdown lints in bevy_utils (#3485) 2021-12-30 09:23:18 +00:00
bevy_window Added set_cursor_icon(...) to Window (#3395) 2021-12-20 22:04:45 +00:00
bevy_winit Added set_cursor_icon(...) to Window (#3395) 2021-12-20 22:04:45 +00:00