Except the teacher has the legal right to force the student to go into a space the teacher controlls, force the student to get rid of all possessions including ones that could be used for recording, handcuff them, and then it is illegal for the student to fight back against the teacher in any way even while being raped. Also teachers may kill students during this with minimal repercussions