Enum gds::GdsRecordType
source · pub enum GdsRecordType {
Show 60 variants
Header = 0,
BgnLib = 1,
LibName = 2,
Units = 3,
EndLib = 4,
BgnStruct = 5,
StructName = 6,
EndStruct = 7,
Boundary = 8,
Path = 9,
StructRef = 10,
ArrayRef = 11,
Text = 12,
Layer = 13,
DataType = 14,
Width = 15,
Xy = 16,
EndElement = 17,
StructRefName = 18,
ColRow = 19,
TextNode = 20,
Node = 21,
TextType = 22,
Presentation = 23,
Spacing = 24,
String = 25,
Strans = 26,
Mag = 27,
Angle = 28,
Uinteger = 29,
Ustring = 30,
RefLibs = 31,
Fonts = 32,
PathType = 33,
Generations = 34,
AttrTable = 35,
StypTable = 36,
StrType = 37,
ElemFlags = 38,
ElemKey = 39,
LinkType = 40,
LinkKeys = 41,
Nodetype = 42,
PropAttr = 43,
PropValue = 44,
Box = 45,
BoxType = 46,
Plex = 47,
BeginExtn = 48,
EndExtn = 49,
TapeNum = 50,
TapeCode = 51,
StrClass = 52,
Reserved = 53,
Format = 54,
Mask = 55,
EndMasks = 56,
LibDirSize = 57,
SrfName = 58,
LibSecur = 59,
}
Expand description
An enumeration of GDS record types.
In the numeric-order specified by GDSII, for automatic FromPrimitive
conversions.
Variants§
Header = 0
BgnLib = 1
LibName = 2
Units = 3
EndLib = 4
BgnStruct = 5
StructName = 6
EndStruct = 7
Boundary = 8
Path = 9
StructRef = 10
ArrayRef = 11
Text = 12
Layer = 13
DataType = 14
Width = 15
Xy = 16
EndElement = 17
StructRefName = 18
ColRow = 19
TextNode = 20
Node = 21
TextType = 22
Presentation = 23
Spacing = 24
String = 25
Strans = 26
Mag = 27
Angle = 28
Uinteger = 29
Ustring = 30
RefLibs = 31
Fonts = 32
PathType = 33
Generations = 34
AttrTable = 35
StypTable = 36
StrType = 37
ElemFlags = 38
ElemKey = 39
LinkType = 40
LinkKeys = 41
Nodetype = 42
PropAttr = 43
PropValue = 44
Box = 45
BoxType = 46
Plex = 47
BeginExtn = 48
EndExtn = 49
TapeNum = 50
TapeCode = 51
StrClass = 52
Reserved = 53
Format = 54
Mask = 55
EndMasks = 56
LibDirSize = 57
SrfName = 58
LibSecur = 59
Implementations§
Trait Implementations§
source§impl Clone for GdsRecordType
impl Clone for GdsRecordType
source§fn clone(&self) -> GdsRecordType
fn clone(&self) -> GdsRecordType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GdsRecordType
impl Debug for GdsRecordType
source§impl<'de> Deserialize<'de> for GdsRecordType
impl<'de> Deserialize<'de> for GdsRecordType
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 FromPrimitive for GdsRecordType
impl FromPrimitive for GdsRecordType
source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§impl PartialEq for GdsRecordType
impl PartialEq for GdsRecordType
source§fn eq(&self, other: &GdsRecordType) -> bool
fn eq(&self, other: &GdsRecordType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GdsRecordType
impl Serialize for GdsRecordType
impl Copy for GdsRecordType
impl Eq for GdsRecordType
impl StructuralPartialEq for GdsRecordType
Auto Trait Implementations§
impl RefUnwindSafe for GdsRecordType
impl Send for GdsRecordType
impl Sync for GdsRecordType
impl Unpin for GdsRecordType
impl UnwindSafe for GdsRecordType
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.