pub enum PathOp {
MoveTo {
x: f32,
y: f32,
},
LineTo {
x: f32,
y: f32,
},
QuadraticTo {
ctrl_x: f32,
ctrl_y: f32,
x: f32,
y: f32,
},
CubicTo {
ctrl1_x: f32,
ctrl1_y: f32,
ctrl2_x: f32,
ctrl2_y: f32,
x: f32,
y: f32,
},
Close,
}
Expand description
M {} {} L {} {} ...
Variants§
Trait Implementations§
impl Copy for PathOp
impl StructuralPartialEq for PathOp
Auto Trait Implementations§
impl Freeze for PathOp
impl RefUnwindSafe for PathOp
impl Send for PathOp
impl Sync for PathOp
impl Unpin for PathOp
impl UnwindSafe for PathOp
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)