bevy/crates/bevy_transform/src
BigWingBeat e7c14bd06b
Add EntityWorldMut::(try_)resource_scope (#20162)
# Objective

Fixes #20139

## Solution

Implement the methods, and leverage them where applicable

## Testing

Added unit tests

---

## Showcase

```rust
let id = entity_world_mut.id();
let world = entity_world_mut.into_world_mut();
world.resource_scope::<_, _>(|world, res| {
    let entity_world_mut = world.entity_mut(id);
    /* ... */
});
```

becomes

```rust
entity_world_mut.resource_scope::<_, _>(|entity, res| {
    /* ... */
});
```
2025-07-16 17:37:25 +00:00
..
components rename Transform::compute_matrix to to_matrix (#19646) 2025-06-18 05:37:25 +00:00
commands.rs Add EntityWorldMut::(try_)resource_scope (#20162) 2025-07-16 17:37:25 +00:00
helper.rs Switch ChildOf back to tuple struct (#18672) 2025-04-02 00:10:10 +00:00
lib.rs bevyengine.org -> bevy.org (#19503) 2025-06-05 23:09:28 +00:00
plugins.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
systems.rs Make entity::index non max (#18704) 2025-05-07 18:20:30 +00:00
traits.rs Conversions for Isometry3d ⟷ Transform/GlobalTransform (#14478) 2024-07-25 20:23:32 +00:00