[−][src]Enum svg::node::element::path::Command
A command of a data attribute.
Variants
Move(Position, Parameters)
Establish a new current point.
Line(Position, Parameters)
Draw straight lines.
HorizontalLine(Position, Parameters)
Draw horizontal lines.
VerticalLine(Position, Parameters)
Draw vertical lines.
QuadraticCurve(Position, Parameters)
Draw a quadratic Bézier curve.
SmoothQuadraticCurve(Position, Parameters)
Draw a quadratic Bézier curve assuming the control point to be the reflection of the control point on the previous command relative to the current point.
CubicCurve(Position, Parameters)
Draw a cubic Bézier curve.
SmoothCubicCurve(Position, Parameters)
Draw a cubic Bézier curve assuming the first control point to be the reflection of the second control point on the previous command relative to the current point.
EllipticalArc(Position, Parameters)
Draw an elliptical arc.
Close
End the current subpath.
Trait Implementations
impl From<Command> for String
[src]
impl Clone for Command
[src]
fn clone(&self) -> Command
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Command
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,