bevy::reflect

Function array_partial_eq

source
pub fn array_partial_eq<A>(
    array: &A,
    reflect: &(dyn PartialReflect + 'static),
) -> Option<bool>
where A: Array + ?Sized,
Expand description

Compares two arrays (one concrete and one reflected) to see if they are equal.

Returns None if the comparison couldn’t even be performed.