Enum collada::Shape
[−]
[src]
pub enum Shape {
Point(VTNIndex),
Line(VTNIndex, VTNIndex),
Triangle(VTNIndex, VTNIndex, VTNIndex),
}The various shapes supported by this library.
Convex polygons more complicated than a triangle are automatically converted into triangles.
Variants
Point(VTNIndex)A point specified by its position.
Line(VTNIndex, VTNIndex)A line specified by its endpoints.
Triangle(VTNIndex, VTNIndex, VTNIndex)A triangle specified by its three vertices.
Trait Implementations
impl Hash for Shape[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Debug for Shape[src]
impl Copy for Shape[src]
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