Function structKind [src]
Prototype
pub fn structKind(self: Type, builder: *const Builder) Type.Structure.Kind Parameters
self: Typebuilder: *const Builder Source
pub fn structKind(self: Type, builder: *const Builder) Type.Structure.Kind {
return switch (self.unnamedTag(builder)) {
.structure => .normal,
.packed_structure => .@"packed",
else => unreachable,
};
}