Struct gds21::GdsLayerSpec[][src]

pub struct GdsLayerSpec {
    pub layer: i16,
    pub xtype: i16,
}
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 ]

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.