Trait vsvg::PathDataTrait

source ·
pub trait PathDataTrait:
    Transforms
    + SvgPathWriter
    + Default
    + Clone
    + PartialEq
    + Debug {
    // Required methods
    fn bounds(&self) -> Rect;
    fn start(&self) -> Option<Point>;
    fn end(&self) -> Option<Point>;
    fn is_point(&self) -> bool;
    fn flip(&mut self);
}

Required Methods§

source

fn bounds(&self) -> Rect

source

fn start(&self) -> Option<Point>

source

fn end(&self) -> Option<Point>

source

fn is_point(&self) -> bool

source

fn flip(&mut self)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl PathDataTrait for BezPath

source§

fn bounds(&self) -> Rect

source§

fn start(&self) -> Option<Point>

source§

fn end(&self) -> Option<Point>

source§

fn is_point(&self) -> bool

source§

fn flip(&mut self)

Implementors§