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
impl StructuralPartialEq for GdsNode
Auto Trait Implementations§
impl Freeze for GdsNode
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