Struct ply_rs::ply::Header [] [src]

pub struct Header {
    pub encoding: Encoding,
    pub version: Version,
    pub obj_infos: Vec<ObjInfo>,
    pub elements: KeyMap<ElementDef>,
    pub comments: Vec<Comment>,
}

Models the header of a PLY file.

Fields

In which format is the payload encoded?

Ascii produces human readable files, while binary encoding lets you choose between big and little endian.

Which file format standard is used?

The only existing standard is 1.0.

Ordered map of elements as they appear in the payload.

File comments.

Methods

impl Header
[src]

[src]

Constructs an empty Header using Ascii encoding and version 1.0. No object informations, elements or comments are set.

Trait Implementations

impl Debug for Header
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Header
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Header
[src]

impl Clone for Header
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more