pub trait L2NBaseDecorator: Decorator where
    Self::D: L2NBase
{ fn d_shapes_of_net(
        &self,
        net_id: &<Self::D as NetlistBase>::NetId
    ) -> Box<dyn Iterator<Item = <Self::D as LayoutBase>::ShapeId> + '_> { ... } fn d_shapes_of_pin(
        &self,
        pin_id: &<Self::D as NetlistBase>::PinId
    ) -> Box<dyn Iterator<Item = <Self::D as LayoutBase>::ShapeId> + '_> { ... } fn d_get_net_of_shape(
        &self,
        shape_id: &<Self::D as LayoutBase>::ShapeId
    ) -> Option<<Self::D as NetlistBase>::NetId> { ... } fn d_get_pin_of_shape(
        &self,
        shape_id: &<Self::D as LayoutBase>::ShapeId
    ) -> Option<<Self::D as NetlistBase>::PinId> { ... } }
Expand description

Define the same functions as L2NBase but just prepend a d_ to avoid naming conflicts. The default implementation just forwards the call to the base(). This allows to selectively re-implement some functions or fully delegate the trait to an attribute of a struct.

Provided Methods

Implementors