pub enum Command {
StartShape(DrawOptions),
MoveTo {
x: f64,
y: f64,
},
LineTo {
x: f64,
y: f64,
},
CubicCurveTo {
cx1: f64,
cy1: f64,
cx2: f64,
cy2: f64,
x: f64,
y: f64,
},
QuadraticCurveTo {
cx: f64,
cy: f64,
x: f64,
y: f64,
},
ArcTo {
rx: f64,
ry: f64,
rotation: f64,
large_arc: bool,
sweep: bool,
x: f64,
y: f64,
},
CloseShape,
EndShape,
}
Variants§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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