Derive Macro codegen::Layer

source ·
#[derive(Layer)]
{
    // Attributes available to this derive:
    #[layer]
}
Expand description

Derives a layer implementation on a tuple struct containing only an ID.

§Examples

#[derive(Layer, Clone, Copy)]
#[layer(name = "poly", gds = "66/20")]
pub struct Poly(LayerId);