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