Enum usvg::PathSegment [−][src]
pub enum PathSegment { MoveTo { x: f64, y: f64, }, LineTo { x: f64, y: f64, }, CurveTo { x1: f64, y1: f64, x2: f64, y2: f64, x: f64, y: f64, }, ClosePath, }
Expand description
A path’s absolute segment.
Unlike the SVG spec, can contain only M
, L
, C
and Z
segments.
All other segments will be converted into this one.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PathSegment
impl Send for PathSegment
impl Sync for PathSegment
impl Unpin for PathSegment
impl UnwindSafe for PathSegment
Blanket Implementations
Mutably borrows from an owned value. Read more