Enum gds21::GdsRecord [−][src]
pub enum GdsRecord {
Show 49 variants
Header {
version: i16,
},
BgnLib {
dates: Vec<i16>,
},
LibName(String),
Units(f64, f64),
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(u8, u8),
String(String),
Strans(u8, u8),
Mag(f64),
Angle(f64),
RefLibs(String),
Fonts(String),
PathType(i16),
Generations(i16),
AttrTable(String),
ElemFlags(u8, u8),
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
Fields of Header
version: i16
LibName(String)
Tuple Fields of LibName
0: String
StructName(String)
Tuple Fields of StructName
0: String
StructRefName(String)
Tuple Fields of StructRefName
0: String
Layer(i16)
Tuple Fields of Layer
0: i16
DataType(i16)
Tuple Fields of DataType
0: i16
Width(i32)
Tuple Fields of Width
0: i32
TextType(i16)
Tuple Fields of TextType
0: i16
String(String)
Tuple Fields of String
0: String
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
Nodetype(i16)
Tuple Fields of Nodetype
0: i16
PropAttr(i16)
Tuple Fields of PropAttr
0: i16
PropValue(String)
Tuple Fields of PropValue
0: String
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
Format(i16)
Tuple Fields of Format
0: i16
Mask(String)
Tuple Fields of Mask
0: String
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
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
Auto Trait Implementations
impl RefUnwindSafe for GdsRecord
impl UnwindSafe for GdsRecord
Blanket Implementations
Mutably borrows from an owned value. Read more