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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.