fn values(comptime E: type) []const E

Returns the set of all named values in the given enum, in declaration order.

Parameters

E: type,