pub struct MeshVertex {
pub position: Point,
pub color: Color,
}Expand description
One lattice control point: a position in unit object space and its color.
Fields§
§position: PointPosition as fractions of the painted bounds; finite, usually within 0..=1.
color: ColorColor assigned to this control point.
Trait Implementations§
Source§impl Clone for MeshVertex
impl Clone for MeshVertex
impl Copy for MeshVertex
Source§impl Debug for MeshVertex
impl Debug for MeshVertex
Source§impl PartialEq for MeshVertex
impl PartialEq for MeshVertex
impl StructuralPartialEq for MeshVertex
Auto Trait Implementations§
impl Forget for MeshVertex
impl Freeze for MeshVertex
impl Move 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