pub fn tuple_partial_eq<T: Tuple + ?Sized>(
a: &T,
b: &dyn PartialReflect,
) -> Option<bool>
Expand description
Compares a Tuple
with a PartialReflect
value.
Returns true if and only if all of the following are true:
b
is a tuple;b
has the same number of elements asa
;PartialReflect::reflect_partial_eq
returnsSome(true)
for pairwise elements ofa
andb
.
Returns None
if the comparison couldn’t even be performed.