[][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 that represents an element drawed on the canvas

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<'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 Path<'b, Coord>[src]

Loading content...