pub struct Subpath {
pub segments: Vec<PathSeg>,
pub closed: bool,
pub start: Point,
}Expand description
A subpath as its segments, closed ones including the segment back to the start.
Fields§
§segments: Vec<PathSeg>The segments, in order.
closed: boolWhether the last segment ends where the first starts, joined.
start: PointWhere it starts, for a subpath of 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