pub struct Subpath {
pub segments: Vec<PathSeg>,
pub closed: bool,
pub start: Point,
}Expand description
A subpath as segments, including the closing segment when closed.
Fields§
§segments: Vec<PathSeg>The segments, in order.
closed: boolWhether the last segment joins the first.
start: PointStart point, needed when there are no segments.
Trait Implementations§
impl StructuralPartialEq for Subpath
Auto Trait Implementations§
impl Freeze for Subpath
impl RefUnwindSafe for Subpath
impl Send for Subpath
impl Sync for Subpath
impl Unpin for Subpath
impl UnsafeUnpin for Subpath
impl UnwindSafe for Subpath
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