Struct gds::GdsArrayRef
source · pub struct GdsArrayRef {
pub name: ArcStr,
pub xy: [GdsPoint; 3],
pub cols: i16,
pub rows: i16,
pub strans: Option<GdsStrans>,
pub elflags: Option<GdsElemFlags>,
pub plex: Option<GdsPlex>,
pub properties: Vec<GdsProperty>,
}
Expand description
A GDS array reference.
A two-dimensional array of struct (cell) instances.
Spec BNF:
AREF [ELFLAGS] [PLEX] SNAME [<strans>] COLROW XY
Fields§
§name: ArcStr
Struct (cell) name.
xy: [GdsPoint; 3]
Vector of x,y coordinates.
cols: i16
Number of columns.
rows: i16
Number of rows.
strans: Option<GdsStrans>
Translation & reflection options.
elflags: Option<GdsElemFlags>
§plex: Option<GdsPlex>
§properties: Vec<GdsProperty>
Trait Implementations§
source§impl Clone for GdsArrayRef
impl Clone for GdsArrayRef
source§fn clone(&self) -> GdsArrayRef
fn clone(&self) -> GdsArrayRef
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 GdsArrayRef
impl Debug for GdsArrayRef
source§impl Default for GdsArrayRef
impl Default for GdsArrayRef
source§fn default() -> GdsArrayRef
fn default() -> GdsArrayRef
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GdsArrayRef
impl<'de> Deserialize<'de> for GdsArrayRef
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 From<GdsArrayRef> for GdsElement
impl From<GdsArrayRef> for GdsElement
source§fn from(original: GdsArrayRef) -> GdsElement
fn from(original: GdsArrayRef) -> GdsElement
Converts to this type from the input type.
source§impl PartialEq for GdsArrayRef
impl PartialEq for GdsArrayRef
source§fn eq(&self, other: &GdsArrayRef) -> bool
fn eq(&self, other: &GdsArrayRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GdsArrayRef
impl Serialize for GdsArrayRef
impl StructuralPartialEq for GdsArrayRef
Auto Trait Implementations§
impl RefUnwindSafe for GdsArrayRef
impl Send for GdsArrayRef
impl Sync for GdsArrayRef
impl Unpin for GdsArrayRef
impl UnwindSafe for GdsArrayRef
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