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
name: String
index: usize
An index is used to tell groups apart that share the same name
material: Option<MTL>
indices: Vec<P>
Methods
impl<MTL, P: GenPolygon> Group<MTL, P>
[src]
Trait Implementations
impl<MTL: Debug, P: Debug + GenPolygon> Debug for Group<MTL, P>
[src]
impl<MTL: Clone, P: Clone + GenPolygon> Clone for Group<MTL, P>
[src]
fn clone(&self) -> Group<MTL, P>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more