bevy::reflect

Function tuple_apply

source
pub fn tuple_apply<T>(a: &mut T, b: &(dyn PartialReflect + 'static))
where T: Tuple,
Expand description

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

ยงPanics

This function panics if b is not a tuple.