Struct stl_io::IndexedTriangle [−][src]
STL Triangle in indexed form, consisting of a normal and three indices to vertices in the vertex list. This format is more compact, since in real world Meshes Triangles usually share vertices with other Triangles.
Fields
normal: Normal
Normal vector of the Triangle.
vertices: [usize; 3]
The indexed to the three vertices of the Triangle, when this is used in an IndexedMesh.
Trait Implementations
impl Clone for IndexedTriangle
[src]
impl Clone for IndexedTriangle
fn clone(&self) -> IndexedTriangle
[src]
fn clone(&self) -> IndexedTriangle
Returns 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 IndexedTriangle
[src]
impl Debug for IndexedTriangle
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for IndexedTriangle
[src]
impl PartialEq for IndexedTriangle
fn eq(&self, other: &IndexedTriangle) -> bool
[src]
fn eq(&self, other: &IndexedTriangle) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &IndexedTriangle) -> bool
[src]
fn ne(&self, other: &IndexedTriangle) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for IndexedTriangle
impl Send for IndexedTriangle
impl Sync for IndexedTriangle
impl Sync for IndexedTriangle