Struct mash::geometry::Triangle [−][src]
A triangle.
Fields
vertices: [V; 3]
The vertices that make up the triangle.
Trait Implementations
impl<V: Debug + Vertex> Debug for Triangle<V>
[src]
impl<V, I> FromIterator<Triangle<V>> for TriangularMesh<V, I> where
V: Vertex,
I: Index,
[src]
V: Vertex,
I: Index,
fn from_iter<T>(iter: T) -> Self where
T: IntoIterator<Item = Triangle<V>>,
[src]
T: IntoIterator<Item = Triangle<V>>,
impl<V: PartialEq + Vertex> PartialEq<Triangle<V>> for Triangle<V>
[src]
impl<V: PartialOrd + Vertex> PartialOrd<Triangle<V>> for Triangle<V>
[src]
fn partial_cmp(&self, other: &Triangle<V>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<V: Vertex> StructuralPartialEq for Triangle<V>
[src]
Auto Trait Implementations
impl<V> RefUnwindSafe for Triangle<V> where
V: RefUnwindSafe,
[src]
V: RefUnwindSafe,
impl<V> Send for Triangle<V> where
V: Send,
[src]
V: Send,
impl<V> Sync for Triangle<V> where
V: Sync,
[src]
V: Sync,
impl<V> Unpin for Triangle<V> where
V: Unpin,
[src]
V: Unpin,
impl<V> UnwindSafe for Triangle<V> where
V: UnwindSafe,
[src]
V: UnwindSafe,
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, 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>,