[−][src]Struct stl_io::IndexedTriangle
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]
pub fn clone(&self) -> IndexedTriangle
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IndexedTriangle
[src]
impl PartialEq<IndexedTriangle> for IndexedTriangle
[src]
pub fn eq(&self, other: &IndexedTriangle) -> bool
[src]
pub fn ne(&self, other: &IndexedTriangle) -> bool
[src]
impl StructuralPartialEq for IndexedTriangle
[src]
Auto Trait Implementations
impl RefUnwindSafe for IndexedTriangle
[src]
impl Send for IndexedTriangle
[src]
impl Sync for IndexedTriangle
[src]
impl Unpin for IndexedTriangle
[src]
impl UnwindSafe for IndexedTriangle
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,