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.


Name of the structure.

Date of last modification.

Date of last access.

Vector of the contained elements.


impl Structure

Creates new structure.

Default values are used:

  • name - empty
  • elements - empty
  • date_mod - 01.01.1970 00:00:00
  • date_acc - 01.01.1970 00:00:00

Trait Implementations

impl Debug for Structure

Formats the value using the given formatter.

impl Clone for Structure

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more