pub struct SurfaceTriangle {
pub vertices: [Point; 3],
pub area: f64,
pub paint_index: usize,
}Expand description
A nondegenerate tree-space triangle in a filled geometric union.
Fields§
§vertices: [Point; 3]Original f64 vertices, never raster coordinates.
area: f64Positive area in squared tree units.
paint_index: usizeIndex of the ordered fill stack retained by the owning surface.
Trait Implementations§
Source§impl Clone for SurfaceTriangle
impl Clone for SurfaceTriangle
impl Copy for SurfaceTriangle
Auto Trait Implementations§
impl Forget for SurfaceTriangle
impl Freeze for SurfaceTriangle
impl Move for SurfaceTriangle
impl RefUnwindSafe for SurfaceTriangle
impl Send for SurfaceTriangle
impl Sync for SurfaceTriangle
impl Unpin for SurfaceTriangle
impl UnsafeUnpin for SurfaceTriangle
impl UnwindSafe for SurfaceTriangle
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