[−][src]Struct plotters::element::ComposedElement
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]
A: Drawable<DB>,
B: Drawable<DB>,
type Borrow = &'b Coord
The item in point iterator
type IntoIter = Once<&'b Coord>
The point iterator
fn point_iter(self) -> Self::IntoIter
[src]
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]
&'a A: PointCollection<'a, BackendCoord>,
&'b B: PointCollection<'b, BackendCoord>,
A: Drawable<DB>,
B: Drawable<DB>,
fn draw<I: Iterator<Item = BackendCoord>>(
&self,
pos: I,
backend: &mut DB
) -> Result<(), DrawingErrorKind<DB::ErrorType>>
[src]
&self,
pos: I,
backend: &mut DB
) -> Result<(), DrawingErrorKind<DB::ErrorType>>
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]
A: Drawable<DB>,
&'a A: PointCollection<'a, BackendCoord>,
B: Drawable<DB>,
&'a B: PointCollection<'a, BackendCoord>,
C: Drawable<DB>,
&'a C: PointCollection<'a, BackendCoord>,
type Output = ComposedElement<Coord, DB, A, ComposedElement<BackendCoord, DB, B, C>>
The resulting type after applying the +
operator.
fn add(self, rhs: C) -> Self::Output
[src]
Auto Trait Implementations
impl<Coord, DB, A, B> Send for ComposedElement<Coord, DB, A, B> where
A: Send,
B: Send,
Coord: Send,
DB: Send,
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,
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]
Coord: Clone,
DB: DrawingBackend,
T: Drawable<DB> + 'b,
&'a T: PointCollection<'a, Coord>,
fn into_dyn(Self) -> DynElement<'b, DB, Coord>
[src]
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,