[][src]Trait plotters::element::PointCollection

pub trait PointCollection<'a, Coord> {
type Borrow: Borrow<Coord>;
type IntoIter: IntoIterator<Item = Self::Borrow>;
    fn point_iter(self) -> Self::IntoIter;
}

The trait indicates it's a collection of points

Associated Types

type Borrow: Borrow<Coord>

The item in point iterator

type IntoIter: IntoIterator<Item = Self::Borrow>

The point iterator

Loading content...

Required methods

fn point_iter(self) -> Self::IntoIter

framework to do the coordinate mapping

Loading content...

Implementors

impl<'a, Coord> PointCollection<'a, Coord> for &'a EmptyElement<Coord>[src]

type Borrow = &'a Coord

type IntoIter = Once<&'a Coord>

impl<'b, 'a, Coord: 'a> PointCollection<'a, Coord> for &'a Circle<'b, Coord>[src]

type Borrow = &'a Coord

type IntoIter = Once<&'a Coord>

impl<'b, 'a, Coord: 'a> PointCollection<'a, Coord> for &'a Cross<'b, Coord>[src]

type Borrow = &'a Coord

type IntoIter = Once<&'a Coord>

impl<'b, 'a, Coord: 'a> PointCollection<'a, Coord> for &'a OwnedText<'b, Coord>[src]

type Borrow = &'a Coord

type IntoIter = Once<&'a Coord>

impl<'b, 'a, Coord: 'a> PointCollection<'a, Coord> for &'a Path<'b, Coord>[src]

impl<'b, 'a, Coord: 'a> PointCollection<'a, Coord> for &'a Rectangle<'b, Coord>[src]

impl<'b, 'a, Coord: 'a> PointCollection<'a, Coord> for &'a Text<'b, Coord>[src]

type Borrow = &'a Coord

type IntoIter = Once<&'a Coord>

impl<'b, 'a, X: 'a, Y: PartialOrd + 'a> PointCollection<'a, (X, Y)> for &'a CandleStick<'b, X, Y>[src]

type Borrow = &'a (X, Y)

type IntoIter = &'a [(X, Y)]

impl<'b, Coord, A, B> PointCollection<'b, Coord> for &'b ComposedElement<Coord, A, B> where
    A: Drawable,
    B: Drawable
[src]

type Borrow = &'b Coord

type IntoIter = Once<&'b Coord>

Loading content...