Struct gds21::GdsStructRef [−][src]
pub struct GdsStructRef {
pub name: String,
pub xy: GdsPoint,
pub strans: Option<GdsStrans>,
pub elflags: Option<GdsElemFlags>,
pub plex: Option<GdsPlex>,
pub properties: Vec<GdsProperty>,
}
Expand description
Gds Struct Reference (Cell Instance)
Represents an instance of a layout-cell.
Coordinate vector xy
is dictated by spec to have exactly one point (or two numbers),
specifying the instance’s lower-left coordinate.
Options for rotation and reflection are configured in the GdsStrans attribute strans
.
Spec BNF:
SREF [ELFLAGS] [PLEX] SNAME [<strans>] XY
Fields
name: String
Struct (Cell) Name
xy: GdsPoint
Location x,y coordinates
strans: Option<GdsStrans>
Translation & Reflection Options
elflags: Option<GdsElemFlags>
plex: Option<GdsPlex>
properties: Vec<GdsProperty>
Trait Implementations
Returns the “default value” for a type. Read more
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
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GdsStructRef
impl Send for GdsStructRef
impl Sync for GdsStructRef
impl Unpin for GdsStructRef
impl UnwindSafe for GdsStructRef
Blanket Implementations
Mutably borrows from an owned value. Read more