pub struct TriangleVertex {
pub point: Point,
pub colors: ColorComponents,
/* private fields */
}Expand description
A triangle vertex.
Fields§
§point: PointThe position of the vertex.
colors: ColorComponentsThe color component of the vertex.
Trait Implementations§
Source§impl Clone for TriangleVertex
impl Clone for TriangleVertex
Source§fn clone(&self) -> TriangleVertex
fn clone(&self) -> TriangleVertex
Returns a duplicate of the value. Read more
1.0.0 · 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 TriangleVertex
impl RefUnwindSafe for TriangleVertex
impl Send for TriangleVertex
impl Sync for TriangleVertex
impl Unpin for TriangleVertex
impl UnwindSafe for TriangleVertex
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