pub struct GdsPath {
pub layer: i16,
pub datatype: i16,
pub xy: Vec<GdsPoint>,
pub width: Option<i32>,
pub path_type: Option<i16>,
pub begin_extn: Option<i32>,
pub end_extn: Option<i32>,
pub elflags: Option<GdsElemFlags>,
pub plex: Option<GdsPlex>,
pub properties: Vec<GdsProperty>,
}
Expand description
A GDS path element.
Spec BNF:
PATH [ELFLAGS] [PLEX] LAYER DATATYPE [PATHTYPE] [WIDTH] XY [BGNEXTN] [ENDEXTN])
Fields§
§layer: i16
Layer number.
datatype: i16
Data type ID.
xy: Vec<GdsPoint>
Vector of x,y coordinates.
width: Option<i32>
§path_type: Option<i16>
§begin_extn: Option<i32>
§end_extn: Option<i32>
§elflags: Option<GdsElemFlags>
§plex: Option<GdsPlex>
§properties: Vec<GdsProperty>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GdsPath
impl<'de> Deserialize<'de> for GdsPath
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<GdsPath> for GdsElement
impl From<GdsPath> for GdsElement
impl StructuralPartialEq for GdsPath
Auto Trait Implementations§
impl Freeze for GdsPath
impl RefUnwindSafe for GdsPath
impl Send for GdsPath
impl Sync for GdsPath
impl Unpin for GdsPath
impl UnwindSafe for GdsPath
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