bevy/crates/bevy_hierarchy/src
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
..
components Expose sorting methods in Children (#8522) 2023-05-01 15:57:25 +00:00
child_builder.rs Rename Command's "write" method to "apply" (#8814) 2023-06-12 17:53:47 +00:00
events.rs Require #[derive(Event)] on all Events (#7086) 2023-06-06 14:44:32 +00:00
hierarchy.rs Rename Command's "write" method to "apply" (#8814) 2023-06-12 17:53:47 +00:00
lib.rs Suppress the clippy::type_complexity lint (#8313) 2023-04-06 21:27:36 +00:00
query_extension.rs
valid_parent_check_plugin.rs Fixed several missing links in docs. (#8117) 2023-04-23 17:28:36 +00:00