This is not yet possible, although there is a feature request for it.
As I understand that is quite well received by the core developers, but, as usual, time and priorities are the issue.
Enums and ordinals in general: the proposal is for ordinals, which includes enums of course. <T:ordinal>
Although enums with assigned values will likely not be supported.
PascalDragon has responded to a similar post, and/or an f.r on the bugtracker, afaik.