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