pub trait HasLayer {
// Required method
fn layerspec(&self) -> GdsLayerSpec;
}
Expand description
An object that has a corresponding GDS layer.
Required Methods§
sourcefn layerspec(&self) -> GdsLayerSpec
fn layerspec(&self) -> GdsLayerSpec
Returns a GdsLayerSpec including the two numbers layer
and xtype
.