Rape is penetration against ones will. Mary consented to bear God's child ("thy will be done") and was not penetrated.

There was nothing inevitable about Mary's consent. She had the same free will as we all are given to accept or refuse God's request.