bevy/crates/bevy_ecs/src
bjorn3 af22cc1dc3 Use ManuallyDrop instead of forget in insert_resource_with_id (#2947)
# Objective

Calling forget would invalidate the data pointer before it is used.

## Solution

Use `ManuallyDrop` to prevent the value from being dropped without moving it.
2022-02-03 22:34:31 +00:00
..
entity Fix doc_markdown lints in bevy_ecs (#3473) 2022-01-06 00:43:37 +00:00
query docs: Fix private doc links and enable CI test (#3743) 2022-02-02 21:47:29 +00:00
schedule Add missing closing ticks for inline examples and some cleanup (#3573) 2022-01-07 09:25:12 +00:00
storage Fix doc_markdown lints in bevy_ecs (#3473) 2022-01-06 00:43:37 +00:00
system impl Command for <impl FnOnce(&mut World)> (#2996) 2022-02-03 04:11:19 +00:00
world Use ManuallyDrop instead of forget in insert_resource_with_id (#2947) 2022-02-03 22:34:31 +00:00
archetype.rs Fix doc_markdown lints in bevy_ecs (#3473) 2022-01-06 00:43:37 +00:00
bundle.rs Fix doc_markdown lints in bevy_ecs (#3473) 2022-01-06 00:43: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 Remove ComponentsError (#3716) 2022-01-21 00:12:32 +00:00
event.rs Increment last event count on next instead of iter (#2382) 2022-02-02 02:29:33 +00:00
lib.rs Mark .id() methods which return an Entity as must_use (#3750) 2022-01-23 14:24:37 +00:00
reflect.rs Add FromReflect trait to convert dynamic types to concrete types (#1395) 2021-12-26 18:49:01 +00:00