Skip to main content

MinimumWidth

Trait MinimumWidth 

Source
pub trait MinimumWidth: DistanceRuleBase {
    // Required method
    fn min_width(
        &self,
        layer: &Self::LayerId,
        shape_length: Option<Self::Distance>,
    ) -> Option<Self::Distance>;
}
Expand description

Minimum width rules.

Required Methods§

Source

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

Minimal width of a shape with a certain length.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§