Enum tagger::PathCommand
source · [−]pub enum PathCommand<F> {
Show 19 variants
M(F, F),
M_(F, F),
L(F, F),
L_(F, F),
H(F),
H_(F),
V(F),
V_(F),
C(F, F, F, F, F, F),
C_(F, F, F, F, F, F),
S(F, F, F, F),
S_(F, F, F, F),
Q(F, F, F, F),
Q_(F, F, F, F),
T(F, F),
T_(F, F),
A(F, F, F, F, F, F, F),
A_(F, F, F, F, F, F, F),
Z(F),
}
Expand description
Construct and Write a SVG path’s data.
following: w3 spec
Variants
M(F, F)
move to
M_(F, F)
relative move to
L(F, F)
line to
L_(F, F)
relative line to
H(F)
horizontal to
H_(F)
relative horizontal to
V(F)
vertical to
V_(F)
relative vertical to
C(F, F, F, F, F, F)
curve to
C_(F, F, F, F, F, F)
relative curve to
S(F, F, F, F)
shorthand curve to
S_(F, F, F, F)
relative shorthand curve to
Q(F, F, F, F)
quadratic bezier curve to
Q_(F, F, F, F)
relative quadratic bezier curve to
T(F, F)
shorthand quadratic bezier curve to
T_(F, F)
relative shorthand quadratic bezier curve to
A(F, F, F, F, F, F, F)
elliptical arc
A_(F, F, F, F, F, F, F)
relative elliptical arc
Z(F)
close path
Implementations
sourceimpl<F> PathCommand<F>
impl<F> PathCommand<F>
pub fn map<J>(self, func: impl FnMut(F) -> J) -> PathCommand<J>
Auto Trait Implementations
impl<F> RefUnwindSafe for PathCommand<F> where
F: RefUnwindSafe,
impl<F> Send for PathCommand<F> where
F: Send,
impl<F> Sync for PathCommand<F> where
F: Sync,
impl<F> Unpin for PathCommand<F> where
F: Unpin,
impl<F> UnwindSafe for PathCommand<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more