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§
source§impl PartialEq for PathOp
impl PartialEq for PathOp
impl Copy for PathOp
impl StructuralPartialEq for PathOp
Auto Trait Implementations§
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