[][src]Trait dot_canvas::Shape

pub trait Shape<'a> {
    fn points(&'a self) -> Box<dyn Iterator<Item = (f32, f32)> + 'a>;
}

Required methods

fn points(&'a self) -> Box<dyn Iterator<Item = (f32, f32)> + 'a>

Returns an iterator over all points of the shape

Loading content...

Implementors

impl<'a> Shape<'a> for Arc[src]

impl<'a> Shape<'a> for Circle[src]

impl<'a> Shape<'a> for Line[src]

Loading content...