PathDataTrait

Trait 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)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§