struct Enum [src]

This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.

Fields

tag_type: type
fields: []const EnumField
decls: []const Declaration
is_exhaustive: bool

Source

pub const Enum = struct { tag_type: type, fields: []const EnumField, decls: []const Declaration, is_exhaustive: bool, }