Struct gds21::GdsTextElem [−][src]
pub struct GdsTextElem {
pub string: String,
pub layer: i16,
pub texttype: i16,
pub xy: GdsPoint,
pub presentation: Option<GdsPresentation>,
pub path_type: Option<i16>,
pub width: Option<i32>,
pub strans: Option<GdsStrans>,
pub elflags: Option<GdsElemFlags>,
pub plex: Option<GdsPlex>,
pub properties: Vec<GdsProperty>,
}
Expand description
Gds Text Element
Spec BNF:
TEXT [ELFLAGS] [PLEX] LAYER
TEXTTYPE [PRESENTATION] [PATHTYPE] [WIDTH] [<strans>] XY STRING
Fields
string: String
Text Value
layer: i16
Layer Number
texttype: i16
Text-Type ID
xy: GdsPoint
Vector of x,y coordinates
presentation: Option<GdsPresentation>
path_type: Option<i16>
width: Option<i32>
strans: Option<GdsStrans>
Translation & Reflection Options
elflags: Option<GdsElemFlags>
plex: Option<GdsPlex>
properties: Vec<GdsProperty>
Trait Implementations
Returns the “default value” for a type. Read more
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
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GdsTextElem
impl Send for GdsTextElem
impl Sync for GdsTextElem
impl Unpin for GdsTextElem
impl UnwindSafe for GdsTextElem
Blanket Implementations
Mutably borrows from an owned value. Read more