pub(crate) fn extract_mapping_types(ty: &Type) -> Option<(&Type, &Type)>
Extracts the type parameters from Mapping<K, V>.
Returns Some((key_type, value_type)) if the type is a Mapping, None otherwise.