Function isStruct [src]
Prototype
pub fn isStruct(self: Type, builder: *const Builder) bool Parameters
self: Typebuilder: *const Builder Source
pub fn isStruct(self: Type, builder: *const Builder) bool {
return switch (self.tag(builder)) {
.structure, .packed_structure, .named_structure => true,
else => false,
};
}