Enum libreda_lefdef::def_ast::PinPortStatement
source · pub enum PinPortStatement {
Layer {
layer_name: String,
mask_num: Option<MaskNum>,
spacing_or_width: Option<SpacingOrDesignRuleWidth>,
rect: Rect<Coord>,
},
Polygon {
layer_name: String,
mask_num: Option<MaskNum>,
spacing_or_width: Option<SpacingOrDesignRuleWidth>,
polygon: SimplePolygon<Coord>,
},
Via {
via_name: String,
mask_num: Option<ViaMaskNum>,
location: Point<Coord>,
},
}Expand description
Definition of the shapes of a pin port.
Variants§
Layer
Fields
§
spacing_or_width: Option<SpacingOrDesignRuleWidth>SPACING: minimum spacing between other routing shapes an this pin. DESIGNRULEWIDTH: effective width of this pin used for calculating spacing.
Rectangular shape of the pin port.
Polygon
Fields
§
spacing_or_width: Option<SpacingOrDesignRuleWidth>SPACING: minimum spacing between other routing shapes an this pin. DESIGNRULEWIDTH: effective width of this pin used for calculating spacing.
Polygon shape of the pin port.
Via
Fields
§
mask_num: Option<ViaMaskNum>Mask number.
Via which is part of the pin port.
Trait Implementations§
source§impl Clone for PinPortStatement
impl Clone for PinPortStatement
source§fn clone(&self) -> PinPortStatement
fn clone(&self) -> PinPortStatement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more