[][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;
}

A type which is logically a collection of points, under any given coordinate system

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, 'b: 'a, DB: DrawingBackend, Coord: Clone> PointCollection<'a, Coord> for &'a DynElement<'b, DB, Coord>[src]

type Borrow = &'a Coord

type IntoIter = Iter<'a, Coord>

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

type Borrow = &'a Coord

type IntoIter = Once<&'a Coord>

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

type Borrow = &'a Coord

type IntoIter = Once<&'a Coord>

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

type Borrow = &'a Coord

type IntoIter = Once<&'a Coord>

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

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

type Borrow = &'a Coord

type IntoIter = Once<&'a Coord>

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

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

type Borrow = &'a (X, Y)

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

impl<'b, 'a, Coord: 'a, T: Borrow<str> + 'a> PointCollection<'a, Coord> for &'a MultiLineText<'b, Coord, T>[src]

type Borrow = &'a Coord

type IntoIter = Once<&'a Coord>

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

type Borrow = &'a Coord

type IntoIter = Once<&'a Coord>

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

type Borrow = &'b Coord

type IntoIter = Once<&'b Coord>

Loading content...