bevy/crates/bevy_ecs/src
Giacomo Stevanato 4227781e8c
Implement From<&'w mut EntityMut> for EntityMut<'w> (#12896)
# Objective

- Implement `From<&'w mut EntityMut>` for `EntityMut<'w>`;
- Make it possible to pass `&mut EntityMut` where `impl Into<EntityMut>`
is required;
- Helps with #12895.

## Solution

- Implement `From<&'w mut EntityMut>` for `EntityMut<'w>`

---

## Changelog

- `EntityMut<'w>` now implements `From<&'w mut EntityMut>`
2024-04-07 13:24:10 +00:00
..
entity Remove redundant imports (#12817) 2024-04-01 19:59:08 +00:00
identifier fix some typos (#12038) 2024-02-22 18:55:22 +00:00
query Cluster small table/archetype into single Task in parallel iteration (#12846) 2024-04-04 07:09:26 +00:00
reflect Move commands module into bevy::ecs::world (#12234) 2024-03-02 23:13:45 +00:00
schedule Remove redundant imports (#12817) 2024-04-01 19:59:08 +00:00
storage Remove unnecessary branch in query iteration (#12844) 2024-04-02 06:02:56 +00:00
system Add EntityWorldMut::remove_by_id (#12842) 2024-04-03 09:50:32 +00:00
world Implement From<&'w mut EntityMut> for EntityMut<'w> (#12896) 2024-04-07 13:24:10 +00:00
archetype.rs Adding some docs for archetype internals (#12578) 2024-03-23 01:48:31 +00:00
bundle.rs Update safety comment for bundle removal (#12657) 2024-03-23 22:07:08 +00:00
change_detection.rs Implement MutUntyped::from(mut_typed) (#12406) 2024-03-10 12:46:50 +00:00
component.rs Remove ComponentStorage and associated types (#12311) 2024-03-05 15:54:52 +00:00
event.rs Implement Clone for ManualEventReader (#12777) 2024-03-29 14:49:13 +00:00
lib.rs Forbid unsafe in most crates in the engine (#12684) 2024-03-27 03:30:08 +00:00
removal_detection.rs Add RemovedComponentEvents::iter (#12815) 2024-04-01 20:20:30 +00:00