pub struct GdsNode {
pub layer: i16,
pub nodetype: i16,
pub xy: Vec<GdsPoint>,
pub elflags: Option<GdsElemFlags>,
pub plex: Option<GdsPlex>,
pub properties: Vec<GdsProperty>,
}
Expand description
GDS node element
Spec BNF:
NODE [ELFLAGS] [PLEX] LAYER NODETYPE XY
Fields§
§layer: i16
Layer number.
nodetype: i16
Node type ID.
xy: Vec<GdsPoint>
Vector of x,y coordinates.
elflags: Option<GdsElemFlags>
§plex: Option<GdsPlex>
§properties: Vec<GdsProperty>
Trait Implementations§
source§impl<'de> Deserialize<'de> for GdsNode
impl<'de> Deserialize<'de> for GdsNode
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<GdsNode> for GdsElement
impl From<GdsNode> for GdsElement
source§fn from(original: GdsNode) -> GdsElement
fn from(original: GdsNode) -> GdsElement
Converts to this type from the input type.
source§impl PartialEq for GdsNode
impl PartialEq for GdsNode
impl StructuralPartialEq for GdsNode
Auto Trait Implementations§
impl RefUnwindSafe for GdsNode
impl Send for GdsNode
impl Sync for GdsNode
impl Unpin for GdsNode
impl UnwindSafe for GdsNode
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