Trait substrate::layout::Layout

source ·
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§

source

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.

Implementations on Foreign Types§

source§

impl<PDK: Pdk, T: Layout<PDK>> Layout<PDK> for Arc<T>

source§

fn layout( &self, io: &mut Builder<<Self as Block>::Io>, cell: &mut CellBuilder<PDK> ) -> Result<Self::LayoutData>

Implementors§