Struct wavefront_obj::obj::Geometry [] [src]

pub struct Geometry {
    pub material_name: Option<String>,
    pub shapes: Vec<Shape>,
}

A set of shapes, all using the given material.

Fields

A reference to the material to apply to this geometry.

The shapes of which this geometry is composed.

Trait Implementations

impl Clone for Geometry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Geometry
[src]

Formats the value using the given formatter.

impl PartialEq for Geometry
[src]

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

This method tests for !=.