#[repr(u8)]pub enum SVGPathCommand {
Show 20 variants
MovetoUpper = 77,
MovetoLower = 109,
LinetoUpper = 76,
LinetoLower = 108,
HorizontalUpper = 72,
HorizontalLower = 104,
VerticalUpper = 86,
VerticalLower = 118,
ClosepathUpper = 90,
ClosepathLower = 122,
CurvetoUpper = 67,
CurvetoLower = 99,
SmoothCurvetoUpper = 83,
SmoothCurvetoLower = 115,
ArcUpper = 65,
ArcLower = 97,
QuadraticUpper = 81,
QuadraticLower = 113,
SmoothQuadraticUpper = 84,
SmoothQuadraticLower = 116,
}
Expand description
SVG path command
Variants§
MovetoUpper = 77
M
MovetoLower = 109
m
LinetoUpper = 76
L
LinetoLower = 108
l
HorizontalUpper = 72
H
HorizontalLower = 104
h
VerticalUpper = 86
V
VerticalLower = 118
v
ClosepathUpper = 90
Z
ClosepathLower = 122
z
CurvetoUpper = 67
C
CurvetoLower = 99
c
SmoothCurvetoUpper = 83
S
SmoothCurvetoLower = 115
s
ArcUpper = 65
A
ArcLower = 97
a
QuadraticUpper = 81
Q
QuadraticLower = 113
q
SmoothQuadraticUpper = 84
T
SmoothQuadraticLower = 116
t
Implementations§
Trait Implementations§
Source§impl Clone for SVGPathCommand
impl Clone for SVGPathCommand
Source§fn clone(&self) -> SVGPathCommand
fn clone(&self) -> SVGPathCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SVGPathCommand
impl Debug for SVGPathCommand
Source§impl PartialEq for SVGPathCommand
impl PartialEq for SVGPathCommand
impl Copy for SVGPathCommand
impl StructuralPartialEq for SVGPathCommand
Auto Trait Implementations§
impl Freeze for SVGPathCommand
impl RefUnwindSafe for SVGPathCommand
impl Send for SVGPathCommand
impl Sync for SVGPathCommand
impl Unpin for SVGPathCommand
impl UnwindSafe for SVGPathCommand
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