pub struct StlTriangles {
pub format: StlFormat,
pub triangles: Vec<[[f64; 3]; 3]>,
}Expand description
The facets of an STL in file order, before any welding.
Fields§
§format: StlFormatEncoding detected from the bytes.
triangles: Vec<[[f64; 3]; 3]>Each facet’s three corners, in file order and winding.
Trait Implementations§
Source§impl Clone for StlTriangles
impl Clone for StlTriangles
Source§impl Debug for StlTriangles
impl Debug for StlTriangles
Source§impl PartialEq for StlTriangles
impl PartialEq for StlTriangles
impl StructuralPartialEq for StlTriangles
Auto Trait Implementations§
impl Freeze for StlTriangles
impl RefUnwindSafe for StlTriangles
impl Send for StlTriangles
impl Sync for StlTriangles
impl Unpin for StlTriangles
impl UnsafeUnpin for StlTriangles
impl UnwindSafe for StlTriangles
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more