pub enum Closing {
Open,
Line,
Bezier(Point, Point),
}Expand description
How a subpath closes (graphicBase.ml’s path’s cycleopt): left open,
closed with a straight segment back to the start (close-with-line), or
closed with a cubic (close-with-bezier — the destination is always the
subpath’s own start, so only the two control points are stored).
Variants§
Trait Implementations§
impl Copy for Closing
impl StructuralPartialEq for Closing
Auto Trait Implementations§
impl Freeze for Closing
impl RefUnwindSafe for Closing
impl Send for Closing
impl Sync for Closing
impl Unpin for Closing
impl UnsafeUnpin for Closing
impl UnwindSafe for Closing
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