PointsIter

Trait PointsIter 

Source
pub trait PointsIter {
    type Iter: Iterator<Item = Point>;

    // Required method
    fn points(&self) -> Self::Iter;
}
Expand description

Create an iterator over all points in the primitive.

Required Associated Types§

Source

type Iter: Iterator<Item = Point>

Iterator over all points inside the primitive.

Required Methods§

Source

fn points(&self) -> Self::Iter

Returns an iterator over all points inside the primitive.

Implementations on Foreign Types§

Source§

impl PointsIter for Arc

Source§

impl PointsIter for Ellipse

Source§

impl PointsIter for RoundedRectangle

Source§

impl PointsIter for Sector

Source§

impl PointsIter for Triangle

Source§

impl<'a> PointsIter for Polyline<'a>

Source§

type Iter = Points<'a>

Source§

fn points(&self) -> <Polyline<'a> as PointsIter>::Iter

Implementors§