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
encoding: Encoding
In which format is the payload encoded?
Ascii produces human readable files, while binary encoding lets you choose between big and little endian.
version: Version
Which file format standard is used?
The only existing standard is 1.0.
obj_infos: Vec<ObjInfo>
elements: KeyMap<ElementDef>
Ordered map of elements as they appear in the payload.
comments: Vec<Comment>
File comments.
Methods
impl Header
[src]
fn new() -> Self
[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]
impl PartialEq for Header
[src]
fn eq(&self, __arg_0: &Header) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Header) -> bool
[src]
This method tests for !=
.