Looks up an enum member's value from its name, using opIndex.
name to look up
corresponding value
ArrayBoundsException if name doesn't exist in enum
See Implementation
Looks up an enum member's value from its name, using opIndex.