pub enum PathSeg {
Line(f32, f32),
Quad {
cx: f32,
cy: f32,
x: f32,
y: f32,
flat: f32,
},
Cubic {
c1x: f32,
c1y: f32,
c2x: f32,
c2y: f32,
x: f32,
y: f32,
flat: f32,
},
}Expand description
路径段(曲线感知存储;fill/paths 导出时 flatten 成折线)
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathSeg
impl RefUnwindSafe for PathSeg
impl Send for PathSeg
impl Sync for PathSeg
impl Unpin for PathSeg
impl UnsafeUnpin for PathSeg
impl UnwindSafe for PathSeg
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