Struct obj::Group[][src]

pub struct Group<'a, P> where
    P: 'a + GenPolygon
{ pub name: String, pub index: usize, pub material: Option<Cow<'a, Material>>, pub polys: Vec<P>, }

Fields

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

Methods

impl<'a, P> Group<'a, P> where
    P: 'a + GenPolygon
[src]

Trait Implementations

impl<'a, P: Debug> Debug for Group<'a, P> where
    P: 'a + GenPolygon
[src]

Formats the value using the given formatter. Read more

impl<'a, P: Clone> Clone for Group<'a, P> where
    P: 'a + GenPolygon
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a, P> Send for Group<'a, P> where
    P: Send

impl<'a, P> Sync for Group<'a, P> where
    P: Sync