pub trait ViaMaker<PDK: Pdk>: Send + Sync {
// Required method
fn draw_via(
&self,
ctx: PdkContext<PDK>,
track_coord: TrackCoord
) -> Vec<Shape>;
}
Expand description
An type capable of drawing vias.
Required Methods§
sourcefn draw_via(&self, ctx: PdkContext<PDK>, track_coord: TrackCoord) -> Vec<Shape>
fn draw_via(&self, ctx: PdkContext<PDK>, track_coord: TrackCoord) -> Vec<Shape>
Draws a via from the given track coordinate to the layer below.