Open
Description
What problem does this solve or what need does it fill?
Entity(Mut/World/WorldMut)::get_mut
returns Option
which doesn't play nicely with Result
: requires writing an error message that entity x missing component y. Also get_mut
variant doesn't allow to capture the entity because it's already mutably borrowed.
What solution would you like?
Return Result
instead.