bevy::reflect

Function array_try_apply

source
pub fn array_try_apply<A>(
    array: &mut A,
    reflect: &(dyn PartialReflect + 'static),
) -> Result<(), ApplyError>
where A: Array,
Expand description

Tries to apply the reflected array data to the given array and returns a Result.

§Errors