pub enum PathVerb {
Move,
Line,
Quad,
Conic,
Cubic,
Close,
Done,
}Expand description
路径动词,描述路径中的每个图元。Path verb - describes each element in the path.
Variants§
Move
移动到新轮廓起点 / Move to start new contour
Line
直线 / Line segment
Quad
二次贝塞尔 / Quadratic bezier
Conic
圆锥曲线(有理二次)/ Conic (rational quadratic)
Cubic
三次贝塞尔 / Cubic bezier
Close
闭合轮廓 / Close contour
Done
迭代结束 / Iteration done
Trait Implementations§
impl Copy for PathVerb
impl Eq for PathVerb
impl StructuralPartialEq for PathVerb
Auto Trait Implementations§
impl Freeze for PathVerb
impl RefUnwindSafe for PathVerb
impl Send for PathVerb
impl Sync for PathVerb
impl Unpin for PathVerb
impl UnsafeUnpin for PathVerb
impl UnwindSafe for PathVerb
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