Trait substrate::pdk::layers::HasPin

source ·
pub trait HasPin {
    // Required methods
    fn drawing(&self) -> LayerId;
    fn pin(&self) -> LayerId;
    fn label(&self) -> LayerId;
}
Expand description

A set of layers that uniquely specifies how a pin should be drawn.

Shapes are drawn on the drawing and pin layers by default, with port name annotations added on the label layer.

Required Methods§

source

fn drawing(&self) -> LayerId

The drawing layer corresponding to the pin.

source

fn pin(&self) -> LayerId

The layer where the pin is drawn.

source

fn label(&self) -> LayerId

The layer where the pin label is written.

Implementors§