Function bevy_internal::reflect::map_apply
source · pub fn map_apply<M>(a: &mut M, b: &(dyn Reflect + 'static))where
M: Map,
Expand description
Applies the elements of reflected map b
to the corresponding elements of map a
.
If a key from b
does not exist in a
, the value is cloned and inserted.
Panics
This function panics if b
is not a reflected map.