Enum rasterize::SvgPathCmd
source · pub enum SvgPathCmd {
MoveTo(Point),
LineTo(Point),
QuadTo(Point, Point),
CubicTo(Point, Point, Point),
ArcTo {
radii: Point,
x_axis_rot: Scalar,
large: bool,
sweep: bool,
dst: Point,
},
Close(Point),
}
Expand description
Possible SVG path commands
Variants§
Implementations§
source§impl SvgPathCmd
impl SvgPathCmd
Trait Implementations§
source§impl Clone for SvgPathCmd
impl Clone for SvgPathCmd
source§fn clone(&self) -> SvgPathCmd
fn clone(&self) -> SvgPathCmd
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 SvgPathCmd
impl Debug for SvgPathCmd
source§impl PartialEq for SvgPathCmd
impl PartialEq for SvgPathCmd
source§fn eq(&self, other: &SvgPathCmd) -> bool
fn eq(&self, other: &SvgPathCmd) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SvgPathCmd
impl StructuralPartialEq for SvgPathCmd
Auto Trait Implementations§
impl Freeze for SvgPathCmd
impl RefUnwindSafe for SvgPathCmd
impl Send for SvgPathCmd
impl Sync for SvgPathCmd
impl Unpin for SvgPathCmd
impl UnwindSafe for SvgPathCmd
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