bevy/crates/bevy_ecs/src/system
Natanael Mojica f135535cd6
Rename Command's "write" method to "apply" (#8814)
# Objective

- Fixes #8811 .

## Solution

- Rename "write" method to "apply" in Command trait definition.
- Rename other implementations of command trait throughout bevy's code
base.

---

## Changelog

- Changed: `Command::write` has been changed to `Command::apply`
- Changed: `EntityCommand::write` has been changed to
`EntityCommand::apply`

## Migration Guide

- `Command::write` implementations need to be changed to implement
`Command::apply` instead. This is a mere name change, with no further
actions needed.
- `EntityCommand::write` implementations need to be changed to implement
`EntityCommand::apply` instead. This is a mere name change, with no
further actions needed.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2023-06-12 17:53:47 +00:00
..
commands Rename Command's "write" method to "apply" (#8814) 2023-06-12 17:53:47 +00:00
combinator.rs Document every public item in bevy_ecs (#8731) 2023-06-10 23:23:48 +00:00
exclusive_function_system.rs Document every public item in bevy_ecs (#8731) 2023-06-10 23:23:48 +00:00
exclusive_system_param.rs Document every public item in bevy_ecs (#8731) 2023-06-10 23:23:48 +00:00
function_system.rs Document every public item in bevy_ecs (#8731) 2023-06-10 23:23:48 +00:00
mod.rs Document every public item in bevy_ecs (#8731) 2023-06-10 23:23:48 +00:00
query.rs Document query errors (#8692) 2023-05-30 14:41:14 +00:00
system_param.rs Document every public item in bevy_ecs (#8731) 2023-06-10 23:23:48 +00:00
system.rs Document every public item in bevy_ecs (#8731) 2023-06-10 23:23:48 +00:00