Struct libreda_lefdef::lef_ast::SiteDefinition
source · pub struct SiteDefinition {
pub name: String,
pub size: (f64, f64),
pub symmetry: Symmetry,
pub class: SiteClass,
pub row_pattern: Vec<(String, Orient)>,
}Expand description
SITE definition.
Fields§
§name: StringName of the site.
size: (f64, f64)Dimensions of the site.
symmetry: SymmetryDefine orientations of the site that are considered equivalent. This is used for example to specify whether cell flipping inside a row is allowed.
class: SiteClassSpecify site type (IO or CORE).
row_pattern: Vec<(String, Orient)>Construct this site as a composition of previously defined sites. List of tuples: (previous site, orientation)
Trait Implementations§
source§impl Clone for SiteDefinition
impl Clone for SiteDefinition
source§fn clone(&self) -> SiteDefinition
fn clone(&self) -> SiteDefinition
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 moresource§impl Debug for SiteDefinition
impl Debug for SiteDefinition
source§impl PartialEq<SiteDefinition> for SiteDefinition
impl PartialEq<SiteDefinition> for SiteDefinition
source§fn eq(&self, other: &SiteDefinition) -> bool
fn eq(&self, other: &SiteDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.