pub struct SubPath {
pub segments: Vec<CubicBez>,
pub closed: bool,
}Expand description
A single closed or open contour made of cubic Béziers.
Fields§
§segments: Vec<CubicBez>The segments, each starting where the previous one ends.
closed: boolWhether the contour joins back to its start.
Implementations§
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