Struct wavefront_obj::obj::Shape
[−]
[src]
pub struct Shape {
pub primitive: Primitive,
pub groups: Vec<GroupName>,
}A shape gathers a primitive and groups.
Each shape is associated with 0 or many groups. Those are text identifiers used to gather geometry elements into different groups.
Fields
primitive: Primitive
The primitive of the shape.
groups: Vec<GroupName>
Associated groups. No associated group means the shape uses the default group.
Trait Implementations
impl Clone for Shape[src]
fn clone(&self) -> Shape
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