Trait libreda_db::traits::L2NBase[][src]

pub trait L2NBase: LayoutBase + NetlistBase {
    fn shapes_of_net(
        net_id: &Self::NetId
    ) -> Box<dyn Iterator<Item = Self::ShapeId>>;
fn shapes_of_pin(
        pin_id: &Self::PinId
    ) -> Box<dyn Iterator<Item = Self::ShapeId>>;
fn get_net_of_shape(&self, shape_id: &Self::ShapeId) -> Option<Self::NetId>;
fn get_pin_of_shape(&self, shape_id: &Self::ShapeId) -> Option<Self::PinId>; }
Expand description

Fused layout and netlist view. This trait makes the link between netlist elements and layout elements.

Required methods

Iterate over all shapes that are marked to belong to the specified net.

Iterate over all shapes that are part of the pin.

Get the net of a shape.

Get the pin that belongs to the shape (if any).