bevy/crates/bevy_ecs/src/entity
Jerome Humbert fe6246dac6 Make most Entity methods const (#5688)
# Objective

Fixes #5687

## Solution

Update the methods on the `Entity` struct to be `const`, so we can
define compile-time constants and more generally use them in a const
context.

---

## Changelog

### Added

- Most `Entity` methods are now `const fn`.
2022-08-30 03:16:22 +00:00
..
map_entities.rs Improve EntityMap API (#5231) 2022-07-08 01:14:24 +00:00
mod.rs Make most Entity methods const (#5688) 2022-08-30 03:16:22 +00:00
serde.rs allow Entity to be deserialized with serde_json (#3873) 2022-02-06 04:16:16 +00:00