As Suki Wingy pointed out, there is a whole spectrum of function related to Aspergers. Some people are very badly affected by it, and some people, you'd never know. That still does not excuse the teacher's despicable action.