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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)