Struct gds::Element [] [src]

pub struct Element {
    pub element_type: ElementType,
    pub parameters: Vec<ElementParameter>,

A structure representing a element.

Elements are normally contained in a structure. Elements have a type and maybe some parameters.


The type of the element.

Vector of parameters.


impl Element

Creates new element.

The returned element is of type ElementType::None and has an empty set of parameters.

Creates an vector of records.

Returns a vector of records which can be used for writing the content of the element to a file.

Trait Implementations

impl Debug for Element

Formats the value using the given formatter.

impl Clone for Element

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more