public int getStructureLength() {
		return structureDataType != null
				? structureDataType.getLength()
				: 0;
	}
Returns the length of this structure instance.

@return length of this structure, or 0 if this structure is a variable length structure
that does not have a fixed length
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/StructureContext.java