pub trait MinimumSpacing: DistanceRuleBase {
    // Required methods
    fn min_spacing_absolute(
        &self,
        layer: &Self::LayerId
    ) -> Option<Self::Distance>;
    fn min_spacing(
        &self,
        layer: &Self::LayerId,
        run_length: Self::Distance,
        width: Self::Distance
    ) -> Option<Self::Distance>;
}
Expand description

Minimum spacing rules between shapes on the same layer.

Required Methods§

source

fn min_spacing_absolute(&self, layer: &Self::LayerId) -> Option<Self::Distance>

Absolute minimum spacing between two shapes on the layer.

source

fn min_spacing( &self, layer: &Self::LayerId, run_length: Self::Distance, width: Self::Distance ) -> Option<Self::Distance>

Minimum spacing between two shapes on the layer dependent on the geometries.

Implementors§