Function bevy::reflect::array_apply

source ·
pub fn array_apply<A>(array: &mut A, reflect: &(dyn Reflect + 'static))
where A: Array,
Expand description

Applies the reflected array data to the given array.

Panics

  • Panics if the two arrays have differing lengths.
  • Panics if the reflected value is not a valid array.