Function bevy_reflect::tuple_partial_eq
source · pub fn tuple_partial_eq<T: Tuple>(a: &T, b: &dyn Reflect) -> Option<bool>Expand description
Compares a Tuple with a Reflect value.
Returns true if and only if all of the following are true:
bis a tuple;bhas the same number of elements asa;Reflect::reflect_partial_eqreturnsSome(true)for pairwise elements ofaandb.
Returns None if the comparison couldn’t even be performed.