Trait substrate::pdk::layers::Layer

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

source

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

Instantiates the identifiers and data contained within this layer.

source

fn info(&self) -> LayerInfo

Converts a PDK layer object to a general format that Substrate can use.

Provided Methods§

source

fn id(&self) -> LayerId

Gets the ID of self.

Object Safety§

This trait is not object safe.

Implementors§