Function bevy::reflect::list_apply

pub fn list_apply<L>(a: &mut L, b: &(dyn Reflect + 'static))
where L: List,
Expand description

Applies the elements of b to the corresponding elements of a.

If the length of b is greater than that of a, the excess elements of b are cloned and appended to a.

§Panics

This function panics if b is not a list.