Enum gds21::GdsRecord[][src]

pub enum GdsRecord {
Show 49 variants Header { version: i16, }, BgnLib { dates: Vec<i16>, }, LibName(String), Units(f64f64), EndLib, BgnStruct { dates: Vec<i16>, }, StructName(String), StructRefName(String), EndStruct, Boundary, Path, StructRef, ArrayRef, Text, Layer(i16), DataType(i16), Width(i32), Xy(Vec<i32>), EndElement, ColRow { cols: i16, rows: i16, }, Node, TextType(i16), Presentation(u8u8), String(String), Strans(u8u8), Mag(f64), Angle(f64), RefLibs(String), Fonts(String), PathType(i16), Generations(i16), AttrTable(String), ElemFlags(u8u8), Nodetype(i16), PropAttr(i16), PropValue(String), Box, BoxType(i16), Plex(i32), BeginExtn(i32), EndExtn(i32), TapeNum(i16), TapeCode(Vec<i16>), Format(i16), Mask(String), EndMasks, LibDirSize(i16), SrfName(String), LibSecur(i16),
}
Expand description

Gds Record Enumeration

Keeps each record in relatively “raw” form, other than assuring correct data-types, and converting one-entry arrays into scalars. Invalid record-types are not included.

Variants

Header

Fields of Header

version: i16
BgnLib

Fields of BgnLib

dates: Vec<i16>
LibName(String)

Tuple Fields of LibName

0: String
Units(f64f64)

Tuple Fields of Units

0: f641: f64
EndLib
BgnStruct

Fields of BgnStruct

dates: Vec<i16>
StructName(String)

Tuple Fields of StructName

0: String
StructRefName(String)

Tuple Fields of StructRefName

0: String
EndStruct
Boundary
Path
StructRef
ArrayRef
Text
Layer(i16)

Tuple Fields of Layer

0: i16
DataType(i16)

Tuple Fields of DataType

0: i16
Width(i32)

Tuple Fields of Width

0: i32
Xy(Vec<i32>)

Tuple Fields of Xy

0: Vec<i32>
EndElement
ColRow

Fields of ColRow

cols: i16rows: i16
Node
TextType(i16)

Tuple Fields of TextType

0: i16
Presentation(u8u8)

Tuple Fields of Presentation

0: u81: u8
String(String)

Tuple Fields of String

0: String
Strans(u8u8)

Tuple Fields of Strans

0: u81: u8
Mag(f64)

Tuple Fields of Mag

0: f64
Angle(f64)

Tuple Fields of Angle

0: f64
RefLibs(String)

Tuple Fields of RefLibs

0: String
Fonts(String)

Tuple Fields of Fonts

0: String
PathType(i16)

Tuple Fields of PathType

0: i16
Generations(i16)

Tuple Fields of Generations

0: i16
AttrTable(String)

Tuple Fields of AttrTable

0: String
ElemFlags(u8u8)

Tuple Fields of ElemFlags

0: u81: u8
Nodetype(i16)

Tuple Fields of Nodetype

0: i16
PropAttr(i16)

Tuple Fields of PropAttr

0: i16
PropValue(String)

Tuple Fields of PropValue

0: String
Box
BoxType(i16)

Tuple Fields of BoxType

0: i16
Plex(i32)

Tuple Fields of Plex

0: i32
BeginExtn(i32)

Tuple Fields of BeginExtn

0: i32
EndExtn(i32)

Tuple Fields of EndExtn

0: i32
TapeNum(i16)

Tuple Fields of TapeNum

0: i16
TapeCode(Vec<i16>)

Tuple Fields of TapeCode

0: Vec<i16>
Format(i16)

Tuple Fields of Format

0: i16
Mask(String)

Tuple Fields of Mask

0: String
EndMasks
LibDirSize(i16)

Tuple Fields of LibDirSize

0: i16
SrfName(String)

Tuple Fields of SrfName

0: String
LibSecur(i16)

Tuple Fields of LibSecur

0: i16

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.