You seem to be describing slut-shaming, not mansplaining.
Mansplaining is the phenomenon of which an arrogant male-persons arrogance can be attributed to their sex/gender (as appropriate), usually with some reference to "patriarchy" and the undeserved confidence of those higher up in the power hierarchy when belittling or underestimating those lower on that same scale.
In practice, it is a gender-specific, weaponised term used in any situation where a man is perceived to be arrogant towards a women i.e. it is commonly abused beyond any positive philosophical aims.
Maybe it has a similar reasoning i.e. men sexist-ly assume women know less than them - but the fact is that it is rarely clear b/c arrogant, narcissistic people of both genders exist without the need for such a basis.