pub struct GdsStruct {
pub name: ArcStr,
pub dates: GdsDateTimes,
pub elems: Vec<GdsElement>,
}
Expand description
A 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: ArcStr
Struct name.
dates: GdsDateTimes
Creation/modification date info.
elems: Vec<GdsElement>
Elements list.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for GdsStruct
impl<'de> Deserialize<'de> for GdsStruct
source§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
source§impl PartialEq for GdsStruct
impl PartialEq for GdsStruct
impl StructuralPartialEq for GdsStruct
Auto Trait Implementations§
impl RefUnwindSafe for GdsStruct
impl Send for GdsStruct
impl Sync for GdsStruct
impl Unpin for GdsStruct
impl UnwindSafe for GdsStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more