pub enum PathCommand {
MoveTo(f64, f64),
ClosePath,
LineTo(f64, f64),
HorizontalLineTo(f64),
VerticalLineTo(f64),
CurveTo(f64, f64, f64, f64, f64, f64),
SmoothCurveTo(f64, f64, f64, f64),
QuadCurveTo(f64, f64, f64, f64),
SmoothQuadCurveTo(f64, f64),
ArcTo(f64, f64, f64, f64, f64, f64, f64),
}
Variants§
MoveTo(f64, f64)
https://svgwg.org/svg2-draft/paths.html#PathDataMovetoCommands
ClosePath
https://svgwg.org/svg2-draft/paths.html#PathDataLinetoCommands
LineTo(f64, f64)
https://svgwg.org/svg2-draft/paths.html#PathDataLinetoCommands
HorizontalLineTo(f64)
https://svgwg.org/svg2-draft/paths.html#PathDataLinetoCommands
VerticalLineTo(f64)
https://svgwg.org/svg2-draft/paths.html#PathDataLinetoCommands
CurveTo(f64, f64, f64, f64, f64, f64)
https://svgwg.org/svg2-draft/paths.html#PathDataCubicBezierCommands
SmoothCurveTo(f64, f64, f64, f64)
https://svgwg.org/svg2-draft/paths.html#PathDataCubicBezierCommands
QuadCurveTo(f64, f64, f64, f64)
https://svgwg.org/svg2-draft/paths.html#PathDataQuadraticBezierCommands
SmoothQuadCurveTo(f64, f64)
https://svgwg.org/svg2-draft/paths.html#PathDataQuadraticBezierCommands
ArcTo(f64, f64, f64, f64, f64, f64, f64)
https://svgwg.org/svg2-draft/paths.html#PathDataEllipticalArcCommands
Trait Implementations§
Source§impl Clone for PathCommand
impl Clone for PathCommand
Source§fn clone(&self) -> PathCommand
fn clone(&self) -> PathCommand
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PathCommand
impl Debug for PathCommand
Source§impl<'de> Deserialize<'de> for PathCommand
impl<'de> Deserialize<'de> for PathCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PathCommand
impl PartialEq for PathCommand
Source§impl Serialize for PathCommand
impl Serialize for PathCommand
impl StructuralPartialEq for PathCommand
Auto Trait Implementations§
impl Freeze for PathCommand
impl RefUnwindSafe for PathCommand
impl Send for PathCommand
impl Sync for PathCommand
impl Unpin for PathCommand
impl UnwindSafe for PathCommand
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