Enum dae_parser::Primitive [−][src]
pub enum Primitive {
Lines(Lines),
LineStrips(LineStrips),
Polygons(Polygons),
PolyList(PolyList),
Triangles(Triangles),
TriFans(TriFans),
TriStrips(TriStrips),
}Expand description
A collection of primitive elements.
Variants
Lines(Lines)Line primitives.
Tuple Fields of Lines
0: LinesLineStrips(LineStrips)Line-strip primitives.
Tuple Fields of LineStrips
0: LineStripsPolygons(Polygons)Polygon primitives which may contain holes.
Tuple Fields of Polygons
0: PolygonsPolyList(PolyList)Polygon primitives that cannot contain holes.
Tuple Fields of PolyList
0: PolyListTriangles(Triangles)Triangle primitives.
Tuple Fields of Triangles
0: TrianglesTriFans(TriFans)Triangle-fan primitives.
Tuple Fields of TriFans
0: TriFansTriStrips(TriStrips)Triangle-strip primitives.
Tuple Fields of TriStrips
0: TriStripsImplementations
An accessor for the variant.
An accessor for the variant.
An accessor for the variant.
An accessor for the variant.
An accessor for the variant.
An accessor for the variant.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Primitive
impl UnwindSafe for Primitive
Blanket Implementations
Mutably borrows from an owned value. Read more