Two types are equal, if their internal int matches.
operator==(EvaluationType et) => this.type == et.type;