pub struct PathContour {
pub start: (f64, f64),
pub segments: Vec<PathSeg>,
}Expand description
One closed contour of a drawn path: a start point plus segments; the contour closes back to the start implicitly.
Fields§
§start: (f64, f64)Start point, ems.
segments: Vec<PathSeg>The segments.
Trait Implementations§
Source§impl Clone for PathContour
impl Clone for PathContour
Source§impl Debug for PathContour
impl Debug for PathContour
Source§impl PartialEq for PathContour
impl PartialEq for PathContour
impl StructuralPartialEq for PathContour
Auto Trait Implementations§
impl Freeze for PathContour
impl RefUnwindSafe for PathContour
impl Send for PathContour
impl Sync for PathContour
impl Unpin for PathContour
impl UnsafeUnpin for PathContour
impl UnwindSafe for PathContour
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