[][src]Struct plotters::element::ComposedElement

pub struct ComposedElement<Coord, DB: DrawingBackend, A, B> where
    A: Drawable<DB>,
    B: Drawable<DB>, 
{ /* fields omitted */ }

The composed element which has at least two components

Trait Implementations

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

The item in point iterator

type IntoIter = Once<&'b Coord>

The point iterator

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

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

type Output = ComposedElement<Coord, DB, A, ComposedElement<BackendCoord, DB, B, C>>

The resulting type after applying the + operator.

Auto Trait Implementations

impl<Coord, DB, A, B> Send for ComposedElement<Coord, DB, A, B> where
    A: Send,
    B: Send,
    Coord: Send,
    DB: Send

impl<Coord, DB, A, B> Sync for ComposedElement<Coord, DB, A, B> where
    A: Sync,
    B: Sync,
    Coord: Sync,
    DB: Sync

Blanket Implementations

impl<'b, T, DB, Coord> IntoDynElement for T where
    Coord: Clone,
    DB: DrawingBackend,
    T: Drawable<DB> + 'b,
    &'a T: PointCollection<'a, Coord>, 
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.