Struct gds21::GdsLayerSpec [−][src]
Expand description
Gds Layer Spec
Each GDSII element’s layer is specified by a set of two numbers,
commonly referred to as layer
and datatype
.
Several element-types refer to their analog of datatype
by different names,
e.g. texttype
and nodetype
.
GdsLayerSpecs
generalize across these via the xtype
field,
which holds whichever is appropriate for the given element.
Fields
layer: i16
Layer ID Number
xtype: i16
DataType (or TextType, NodeType, etc.) ID Number
Implementations
Create a new GdsLayerSpec ]