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