pub trait LayoutReferenceAccess: LayoutBase {
    fn shape_ref(&self, shape_id: &Self::ShapeId) -> ShapeRef<'_, Self> { ... }
fn layer_ref(&self, layer_id: &Self::LayerId) -> LayerRef<'_, Self> { ... }
fn each_layer_ref(&self) -> Box<dyn Iterator<Item = LayerRef<'_, Self>>> { ... }
fn layer_ref_by_name(&self, name: &str) -> Option<LayerRef<'_, Self>> { ... } }
Expand description

Trait that provides object-like read access to a layout structure and its elements.

Provided methods

Get a cell object by its ID.

Get a layer object by its ID.

Iterate over all layers defined in this layout.

Get a layer object by the layer name.