pub trait Layer: Copy {
// Required methods
fn new(ctx: &mut LayerContext) -> Self;
fn info(&self) -> LayerInfo;
// Provided method
fn id(&self) -> LayerId { ... }
}
Expand description
A PDK layer.
Required Methods§
sourcefn new(ctx: &mut LayerContext) -> Self
fn new(ctx: &mut LayerContext) -> Self
Instantiates the identifiers and data contained within this layer.
Provided Methods§
Object Safety§
This trait is not object safe.