pub struct ShadingTriangle {
pub v0: ShadingVertex,
pub v1: ShadingVertex,
pub v2: ShadingVertex,
}Expand description
A triangle in a shading mesh.
Fields§
§v0: ShadingVertex§v1: ShadingVertex§v2: ShadingVertexTrait Implementations§
Source§impl Clone for ShadingTriangle
impl Clone for ShadingTriangle
Source§fn clone(&self) -> ShadingTriangle
fn clone(&self) -> ShadingTriangle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ShadingTriangle
impl RefUnwindSafe for ShadingTriangle
impl Send for ShadingTriangle
impl Sync for ShadingTriangle
impl Unpin for ShadingTriangle
impl UnsafeUnpin for ShadingTriangle
impl UnwindSafe for ShadingTriangle
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