Struct gds21::GdsStruct [−][src]
pub struct GdsStruct {
pub name: String,
pub dates: GdsDateTimes,
pub elems: Vec<GdsElement>,
}
Expand description
Gds Struct (Cell) Definition
GDSII’s primary hierarchical layout-definition object is its “struct”, which most other layout systems would call a “cell” or “module”. (Most GDSII software calls them one of these as well.)
GdsStructs are principally composed of an un-ordered, un-indexed vector of GdsElements, which can be polygons (GdsBoundary), instances of other layouts (GdsStructRef), two-dimensional arrays thereof (GdsArrayRef), and a handful of other GdsElements.
Spec BNF:
BGNSTR STRNAME [STRCLASS] {<element>}* ENDSTR
Fields
name: String
Struct Name
dates: GdsDateTimes
Creation/ Modification-Date Info
elems: Vec<GdsElement>
Elements List
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GdsStruct
impl UnwindSafe for GdsStruct
Blanket Implementations
Mutably borrows from an owned value. Read more