Struct stl_io::Triangle [−][src]
STL Triangle, consisting of a normal and three vertices. This is the format Triangles are usually stored in STL files.
Fields
normal: Normal
Normal vector of the Triangle.
vertices: [Vertex; 3]
The three vertices of the Triangle.
Trait Implementations
impl Clone for Triangle[src]
impl Clone for Trianglefn clone(&self) -> Triangle[src]
fn clone(&self) -> TriangleReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Triangle[src]
impl Debug for Trianglefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Triangle[src]
impl PartialEq for Triangle