Struct gds::Structure
[−]
[src]
pub struct Structure { pub name: String, pub date_mod: Date, pub date_acc: Date, pub elements: Vec<Element>, }
A structure representiang a structure in a GDS file.
The structure consist of header informations and one or more elements. A structure is normally contained in a library.
Fields
name: String
Name of the structure.
date_mod: Date
Date of last modification.
date_acc: Date
Date of last access.
elements: Vec<Element>
Vector of the contained elements.
Methods
impl Structure
[src]
fn new() -> Structure
Creates new structure.
Default values are used:
name
- emptyelements
- emptydate_mod
- 01.01.1970 00:00:00date_acc
- 01.01.1970 00:00:00
Trait Implementations
impl Debug for Structure
[src]
impl Clone for Structure
[src]
fn clone(&self) -> Structure
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more