Trait substrate::pdk::layers::Layers

source ·
pub trait Layers: Any + Send + Sync {
    // Required methods
    fn new(ctx: &mut LayerContext) -> Self;
    fn flatten(&self) -> Vec<LayerFamilyInfo>;
}
Expand description

A set of layers used by a PDK.

Required Methods§

source

fn new(ctx: &mut LayerContext) -> Self

Instantiates the identifiers and data contained within the set of layers.

source

fn flatten(&self) -> Vec<LayerFamilyInfo>

Flattens self into a list of LayerInfo objects for Substrate’s internal purposes.

Object Safety§

This trait is not object safe.

Implementors§