pub struct ShadingVertex {
pub x: f64,
pub y: f64,
pub color: DeviceColor,
pub raw_components: Vec<f64>,
}Expand description
A vertex in a shading triangle mesh.
Fields§
§x: f64§y: f64§color: DeviceColor§raw_components: Vec<f64>Trait Implementations§
Source§impl Clone for ShadingVertex
impl Clone for ShadingVertex
Source§fn clone(&self) -> ShadingVertex
fn clone(&self) -> ShadingVertex
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 ShadingVertex
impl RefUnwindSafe for ShadingVertex
impl Send for ShadingVertex
impl Sync for ShadingVertex
impl Unpin for ShadingVertex
impl UnsafeUnpin for ShadingVertex
impl UnwindSafe for ShadingVertex
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