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
name: String
index: usize
An index is used to tell groups apart that share the same name
material: Option<Cow<'a, Material>>
polys: Vec<P>
Methods
impl<'a, P> Group<'a, P> where
P: 'a + GenPolygon,
[src]
impl<'a, P> Group<'a, P> where
P: 'a + GenPolygon,
Trait Implementations
impl<'a, P: Debug> Debug for Group<'a, P> where
P: 'a + GenPolygon,
[src]
impl<'a, P: Debug> Debug for Group<'a, P> where
P: 'a + GenPolygon,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, P: Clone> Clone for Group<'a, P> where
P: 'a + GenPolygon,
[src]
impl<'a, P: Clone> Clone for Group<'a, P> where
P: 'a + GenPolygon,