Struct obj::Group [] [src]

pub struct Group<MTL, P: GenPolygon> {
    pub name: String,
    pub index: usize,
    pub material: Option<MTL>,
    pub indices: Vec<P>,
}

Fields

An index is used to tell groups apart that share the same name

Methods

impl<MTL, P: GenPolygon> Group<MTL, P>
[src]

Trait Implementations

impl<MTL: Debug, P: Debug + GenPolygon> Debug for Group<MTL, P>
[src]

Formats the value using the given formatter.

impl<MTL: Clone, P: Clone + GenPolygon> Clone for Group<MTL, P>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more