Struct stl_io::IndexedMesh
source · pub struct IndexedMesh {
pub vertices: Vec<Vertex>,
pub faces: Vec<IndexedTriangle>,
}
Expand description
STL Mesh in indexed form, consisting of a list of Vertices and a list of indexed Triangles.
Fields§
§vertices: Vec<Vertex>
List of vertices.
faces: Vec<IndexedTriangle>
List of triangles..
Implementations§
Trait Implementations§
source§impl Clone for IndexedMesh
impl Clone for IndexedMesh
source§fn clone(&self) -> IndexedMesh
fn clone(&self) -> IndexedMesh
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more