fn tags(comptime T: type) *const [T.len]T

Given an enum or error set type, returns a pointer to an array containing all tags for that enum or error set.

Parameters

T: type,