Function bevy_reflect::map_partial_eq
source · pub fn map_partial_eq<M: Map>(a: &M, b: &dyn Reflect) -> Option<bool>Expand description
Compares a Map with a Reflect value.
Returns true if and only if all of the following are true:
bis a map;bis the same length asa;- For each key-value pair in
a,bcontains a value for the given key, andReflect::reflect_partial_eqreturnsSome(true)for the two values.
Returns None if the comparison couldn’t even be performed.