pub trait Layout<PDK: Pdk>: ExportsLayoutData {
// Required method
fn layout(
&self,
io: &mut Builder<<Self as Block>::Io>,
cell: &mut CellBuilder<PDK>
) -> Result<Self::LayoutData>;
}
Expand description
A block that can be laid out in process design kit PDK
.
Required Methods§
sourcefn layout(
&self,
io: &mut Builder<<Self as Block>::Io>,
cell: &mut CellBuilder<PDK>
) -> Result<Self::LayoutData>
fn layout( &self, io: &mut Builder<<Self as Block>::Io>, cell: &mut CellBuilder<PDK> ) -> Result<Self::LayoutData>
Generates the block’s layout.
Object Safety§
This trait is not object safe.