embedded_graphics::primitives

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.

Implementors§