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
source§fn from(original: GdsPath) -> GdsElement
fn from(original: GdsPath) -> GdsElement
Converts to this type from the input type.
source§impl PartialEq for GdsPath
impl PartialEq for GdsPath
impl StructuralPartialEq for GdsPath
Auto Trait Implementations§
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