Function bevy_internal::reflect::list_partial_eq
source · pub fn list_partial_eq<L>(a: &L, b: &(dyn Reflect + 'static)) -> Option<bool>where
L: List,
Expand description
Compares a List
with a Reflect
value.
Returns true if and only if all of the following are true:
b
is a list;b
is the same length asa
;Reflect::reflect_partial_eq
returnsSome(true)
for pairwise elements ofa
andb
.
Returns None
if the comparison couldn’t even be performed.