# Objective EntityMut::world takes &mut self instead of &self I don't see any reason for this. EntityRef is overly restrictive with fn world and could return &'w World --- ## Changelog - EntityRef now implements Copy and Clone - EntityRef::world is now fn(&self) -> &'w World instead of fn(&mut self) -> &World - EntityMut::world is now fn(&self) -> &World instead of fn(&mut self) -> &World |
||
|---|---|---|
| .. | ||
| entity | ||
| query | ||
| schedule | ||
| storage | ||
| system | ||
| world | ||
| archetype.rs | ||
| bundle.rs | ||
| change_detection.rs | ||
| component.rs | ||
| event.rs | ||
| lib.rs | ||
| reflect.rs | ||