fn tagName(comptime E: type, e: E) ?[]const u8
[src]
A safe alternative to @tagName() for non-exhaustive enums that doesn’t panic when e
has no tagged value. Returns the tag name for e
or null if no tag exists.
fn tagName(comptime E: type, e: E) ?[]const u8
A safe alternative to @tagName() for non-exhaustive enums that doesn’t panic when e
has no tagged value. Returns the tag name for e
or null if no tag exists.