pub struct MeshVertex {
pub point: Point,
pub color: Rgba,
}Expand description
One vertex of a Gouraud triangle mesh: a target-space coordinate plus its evaluated device-RGB colour (§8.7.4.5.5).
Fields§
§point: PointVertex coordinate in the shading’s target coordinate space
(pre-ctm).
color: RgbaEvaluated device-RGB colour at the vertex.
Trait Implementations§
Source§impl Clone for MeshVertex
impl Clone for MeshVertex
Source§fn clone(&self) -> MeshVertex
fn clone(&self) -> MeshVertex
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 moreimpl Copy for MeshVertex
Source§impl Debug for MeshVertex
impl Debug for MeshVertex
Source§impl PartialEq for MeshVertex
impl PartialEq for MeshVertex
Source§fn eq(&self, other: &MeshVertex) -> bool
fn eq(&self, other: &MeshVertex) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MeshVertex
Auto Trait Implementations§
impl Freeze for MeshVertex
impl RefUnwindSafe for MeshVertex
impl Send for MeshVertex
impl Sync for MeshVertex
impl Unpin for MeshVertex
impl UnsafeUnpin for MeshVertex
impl UnwindSafe for MeshVertex
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