mirror of
https://github.com/bevyengine/bevy
synced 2025-01-07 02:38:59 +00:00
5498ef81fb
# Objective This is a rebase of #3701 which is currently scheduled for 0.8 but is marked for adoption. > Fixes https://github.com/bevyengine/bevy/discussions/3609 ## Solution > - add an `insert_boxed()` method on the `Map` trait > - implement it for `HashMap` using a new `FromReflect` generic bound > - add a `map_apply()` helper method to implement `Map::apply()`, that inserts new values instead of ignoring them --- ## Changelog TODO Co-authored-by: james7132 <contact@jamessliu.com> |
||
---|---|---|
.. | ||
de.rs | ||
mod.rs | ||
ser.rs |