Struct libreda_lefdef::lef_ast::EnclosureRule
source · pub struct EnclosureRule {
pub above: bool,
pub below: bool,
pub overhang1: f64,
pub overhang2: f64,
pub min_width: f64,
pub except_extracut_within: f64,
pub min_length: f64,
}Expand description
ENCLOSURE rules for a CUT (via) layer.
Fields§
§above: boolRule applies for the routing layer above.
below: boolRule applies for the routing layer below.
overhang1: f64Adjacent routing layers must overhang on the two opposing sides (in x-direction (?)).
overhang2: f64Adjacent routing layers must overhang on the two opposing sides (in y-direction (?)).
min_width: f64Rule only applies if the width of the adjacent shape of the routing layer is greater or equal
than min_width.
Default is 0.
except_extracut_within: f64TODO Don’t use the WIDTH rule when another via is present to the current via within this distance.
min_length: f64Rule only applies if the total length of the longest overhangs is greater or equal
to min_length.
The overhang length is measured from the via cut center.
Default is 0.
Trait Implementations§
source§impl Clone for EnclosureRule
impl Clone for EnclosureRule
source§fn clone(&self) -> EnclosureRule
fn clone(&self) -> EnclosureRule
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