pub fn set_apply<M>(a: &mut M, b: &(dyn PartialReflect + 'static))where
M: Set,
Expand description
Applies the elements of reflected set b
to the corresponding elements of set a
.
If a value from b
does not exist in a
, the value is cloned and inserted.
ยงPanics
This function panics if b
is not a reflected set.