pub struct SubPath {
pub start: Point,
pub segments: Vec<[Point; 3]>,
pub closed: bool,
}Expand description
One cubic Bézier subpath, in document pixels.
Fields§
§start: Point§segments: Vec<[Point; 3]>(control 1, control 2, end) per segment.
closed: boolTrait Implementations§
impl StructuralPartialEq for SubPath
Auto Trait Implementations§
impl Forget for SubPath
impl Freeze for SubPath
impl Move 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