DoxigAlpha

structKind

Function parameters

Parameters

#
builder:*const Builder

Type definitions in this namespace

Types

#

Functions in this namespace

Functions

#

= 16

Values

#

Source

Implementation

#
pub fn structKind(self: Type, builder: *const Builder) Type.Structure.Kind {
    return switch (self.unnamedTag(builder)) {
        .structure => .normal,
        .packed_structure => .@"packed",
        else => unreachable,
    };
}