#[repr(transparent)]pub struct Tri<V>(pub [V; 3]);Expand description
Triangle, defined by three vertices.
Tuple Fields§
§0: [V; 3]Trait Implementations§
impl<V: Copy> Copy for Tri<V>
impl<V: Eq> Eq for Tri<V>
impl<V> StructuralPartialEq for Tri<V>
Auto Trait Implementations§
impl<V> Freeze for Tri<V>where
V: Freeze,
impl<V> RefUnwindSafe for Tri<V>where
V: RefUnwindSafe,
impl<V> Send for Tri<V>where
V: Send,
impl<V> Sync for Tri<V>where
V: Sync,
impl<V> Unpin for Tri<V>where
V: Unpin,
impl<V> UnwindSafe for Tri<V>where
V: UnwindSafe,
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