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§
sourcefn new(ctx: &mut LayerContext) -> Self
fn new(ctx: &mut LayerContext) -> Self
Instantiates the identifiers and data contained within the set of layers.
sourcefn flatten(&self) -> Vec<LayerFamilyInfo>
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.