Struct plotters::element::BackendCoordOnly
source · [−]pub struct BackendCoordOnly;
Expand description
Used for 2d coordinate transformations.
Trait Implementations
sourceimpl CoordMapper for BackendCoordOnly
impl CoordMapper for BackendCoordOnly
sourcefn map<CT: CoordTranslate>(
coord_trans: &CT,
from: &CT::From,
rect: &Rect
) -> BackendCoord
fn map<CT: CoordTranslate>(
coord_trans: &CT,
from: &CT::From,
rect: &Rect
) -> BackendCoord
Performs the translation from guest coordinates to backend coordinates
sourceimpl<'a, Coord, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for BitMapElement<'a, Coord>
impl<'a, Coord, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for BitMapElement<'a, Coord>
sourceimpl<K, DB: DrawingBackend, O: BoxplotOrient<K, f32>> Drawable<DB, BackendCoordOnly> for Boxplot<K, O>
impl<K, DB: DrawingBackend, O: BoxplotOrient<K, f32>> Drawable<DB, BackendCoordOnly> for Boxplot<K, O>
sourceimpl<X, Y: PartialOrd, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for CandleStick<X, Y>
impl<X, Y: PartialOrd, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for CandleStick<X, Y>
sourceimpl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB, BackendCoordOnly> for Circle<Coord, Size>
impl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB, BackendCoordOnly> for Circle<Coord, Size>
sourceimpl<Coord, DB: DrawingBackend, A, B> Drawable<DB, BackendCoordOnly> for ComposedElement<Coord, DB, A, B>where
for<'a> &'a A: PointCollection<'a, BackendCoord>,
for<'b> &'b B: PointCollection<'b, BackendCoord>,
A: Drawable<DB>,
B: Drawable<DB>,
impl<Coord, DB: DrawingBackend, A, B> Drawable<DB, BackendCoordOnly> for ComposedElement<Coord, DB, A, B>where
for<'a> &'a A: PointCollection<'a, BackendCoord>,
for<'b> &'b B: PointCollection<'b, BackendCoord>,
A: Drawable<DB>,
B: Drawable<DB>,
sourceimpl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB, BackendCoordOnly> for Cross<Coord, Size>
impl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB, BackendCoordOnly> for Cross<Coord, Size>
sourceimpl<'a, DB: DrawingBackend, Coord: Clone> Drawable<DB, BackendCoordOnly> for DynElement<'a, DB, Coord>
impl<'a, DB: DrawingBackend, Coord: Clone> Drawable<DB, BackendCoordOnly> for DynElement<'a, DB, Coord>
sourceimpl<Coord, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for EmptyElement<Coord, DB>
impl<Coord, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for EmptyElement<Coord, DB>
sourceimpl<K, V, O: ErrorBarOrient<K, V>, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for ErrorBar<K, V, O>
impl<K, V, O: ErrorBarOrient<K, V>, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for ErrorBar<K, V, O>
sourceimpl<'a, Coord: 'a, DB: DrawingBackend, T: Borrow<str>> Drawable<DB, BackendCoordOnly> for MultiLineText<'a, Coord, T>
impl<'a, Coord: 'a, DB: DrawingBackend, T: Borrow<str>> Drawable<DB, BackendCoordOnly> for MultiLineText<'a, Coord, T>
sourceimpl<Coord, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for PathElement<Coord>
impl<Coord, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for PathElement<Coord>
sourceimpl<'a, DB: DrawingBackend, Label: Display> Drawable<DB, BackendCoordOnly> for Pie<'a, (i32, i32), Label>
impl<'a, DB: DrawingBackend, Label: Display> Drawable<DB, BackendCoordOnly> for Pie<'a, (i32, i32), Label>
sourceimpl<Coord, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for Pixel<Coord>
impl<Coord, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for Pixel<Coord>
sourceimpl<Coord, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for Polygon<Coord>
impl<Coord, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for Polygon<Coord>
sourceimpl<Coord, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for Rectangle<Coord>
impl<Coord, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for Rectangle<Coord>
sourceimpl<'a, Coord: 'a, DB: DrawingBackend, T: Borrow<str>> Drawable<DB, BackendCoordOnly> for Text<'a, Coord, T>
impl<'a, Coord: 'a, DB: DrawingBackend, T: Borrow<str>> Drawable<DB, BackendCoordOnly> for Text<'a, Coord, T>
sourceimpl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB, BackendCoordOnly> for TriangleMarker<Coord, Size>
impl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB, BackendCoordOnly> for TriangleMarker<Coord, Size>
sourceimpl<'a, K: Clone, O: BoxplotOrient<K, f32>> PointCollection<'a, (<O as BoxplotOrient<K, f32>>::XType, <O as BoxplotOrient<K, f32>>::YType), BackendCoordOnly> for &'a Boxplot<K, O>
impl<'a, K: Clone, O: BoxplotOrient<K, f32>> PointCollection<'a, (<O as BoxplotOrient<K, f32>>::XType, <O as BoxplotOrient<K, f32>>::YType), BackendCoordOnly> for &'a Boxplot<K, O>
type Point = (<O as BoxplotOrient<K, f32>>::XType, <O as BoxplotOrient<K, f32>>::YType)
type Point = (<O as BoxplotOrient<K, f32>>::XType, <O as BoxplotOrient<K, f32>>::YType)
The item in point iterator
type IntoIter = Vec<<&'a Boxplot<K, O> as PointCollection<'a, (<O as BoxplotOrient<K, f32>>::XType, <O as BoxplotOrient<K, f32>>::YType), BackendCoordOnly>>::Point, Global>
type IntoIter = Vec<<&'a Boxplot<K, O> as PointCollection<'a, (<O as BoxplotOrient<K, f32>>::XType, <O as BoxplotOrient<K, f32>>::YType), BackendCoordOnly>>::Point, Global>
The point iterator
sourcefn point_iter(self) -> Self::IntoIter
fn point_iter(self) -> Self::IntoIter
framework to do the coordinate mapping
sourceimpl<'a, K: Clone, V: Clone, O: ErrorBarOrient<K, V>> PointCollection<'a, (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType), BackendCoordOnly> for &'a ErrorBar<K, V, O>
impl<'a, K: Clone, V: Clone, O: ErrorBarOrient<K, V>> PointCollection<'a, (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType), BackendCoordOnly> for &'a ErrorBar<K, V, O>
type Point = (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType)
type Point = (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType)
The item in point iterator
type IntoIter = Vec<<&'a ErrorBar<K, V, O> as PointCollection<'a, (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType), BackendCoordOnly>>::Point, Global>
type IntoIter = Vec<<&'a ErrorBar<K, V, O> as PointCollection<'a, (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType), BackendCoordOnly>>::Point, Global>
The point iterator
sourcefn point_iter(self) -> Self::IntoIter
fn point_iter(self) -> Self::IntoIter
framework to do the coordinate mapping
sourceimpl<'a, X: 'a, Y: PartialOrd + 'a> PointCollection<'a, (X, Y), BackendCoordOnly> for &'a CandleStick<X, Y>
impl<'a, X: 'a, Y: PartialOrd + 'a> PointCollection<'a, (X, Y), BackendCoordOnly> for &'a CandleStick<X, Y>
sourceimpl<'a, Label: Display> PointCollection<'a, (i32, i32), BackendCoordOnly> for &'a Pie<'a, (i32, i32), Label>
impl<'a, Label: Display> PointCollection<'a, (i32, i32), BackendCoordOnly> for &'a Pie<'a, (i32, i32), Label>
sourceimpl<'a, 'b, Coord> PointCollection<'a, Coord, BackendCoordOnly> for &'a BitMapElement<'b, Coord>
impl<'a, 'b, Coord> PointCollection<'a, Coord, BackendCoordOnly> for &'a BitMapElement<'b, Coord>
sourceimpl<'a, Coord, Size: SizeDesc> PointCollection<'a, Coord, BackendCoordOnly> for &'a Circle<Coord, Size>
impl<'a, Coord, Size: SizeDesc> PointCollection<'a, Coord, BackendCoordOnly> for &'a Circle<Coord, Size>
sourceimpl<'a, Coord: 'a, Size: SizeDesc> PointCollection<'a, Coord, BackendCoordOnly> for &'a Cross<Coord, Size>
impl<'a, Coord: 'a, Size: SizeDesc> PointCollection<'a, Coord, BackendCoordOnly> for &'a Cross<Coord, Size>
sourceimpl<'a, 'b: 'a, DB: DrawingBackend, Coord: Clone> PointCollection<'a, Coord, BackendCoordOnly> for &'a DynElement<'b, DB, Coord>
impl<'a, 'b: 'a, DB: DrawingBackend, Coord: Clone> PointCollection<'a, Coord, BackendCoordOnly> for &'a DynElement<'b, DB, Coord>
sourceimpl<'a, Coord, DB: DrawingBackend> PointCollection<'a, Coord, BackendCoordOnly> for &'a EmptyElement<Coord, DB>
impl<'a, Coord, DB: DrawingBackend> PointCollection<'a, Coord, BackendCoordOnly> for &'a EmptyElement<Coord, DB>
sourceimpl<'b, 'a, Coord: 'a, T: Borrow<str> + 'a> PointCollection<'a, Coord, BackendCoordOnly> for &'a MultiLineText<'b, Coord, T>
impl<'b, 'a, Coord: 'a, T: Borrow<str> + 'a> PointCollection<'a, Coord, BackendCoordOnly> for &'a MultiLineText<'b, Coord, T>
sourceimpl<'a, Coord> PointCollection<'a, Coord, BackendCoordOnly> for &'a PathElement<Coord>
impl<'a, Coord> PointCollection<'a, Coord, BackendCoordOnly> for &'a PathElement<Coord>
sourceimpl<'a, Coord> PointCollection<'a, Coord, BackendCoordOnly> for &'a Pixel<Coord>
impl<'a, Coord> PointCollection<'a, Coord, BackendCoordOnly> for &'a Pixel<Coord>
sourceimpl<'a, Coord> PointCollection<'a, Coord, BackendCoordOnly> for &'a Polygon<Coord>
impl<'a, Coord> PointCollection<'a, Coord, BackendCoordOnly> for &'a Polygon<Coord>
sourceimpl<'a, Coord> PointCollection<'a, Coord, BackendCoordOnly> for &'a Rectangle<Coord>
impl<'a, Coord> PointCollection<'a, Coord, BackendCoordOnly> for &'a Rectangle<Coord>
sourceimpl<'b, 'a, Coord: 'a, T: Borrow<str> + 'a> PointCollection<'a, Coord, BackendCoordOnly> for &'a Text<'b, Coord, T>
impl<'b, 'a, Coord: 'a, T: Borrow<str> + 'a> PointCollection<'a, Coord, BackendCoordOnly> for &'a Text<'b, Coord, T>
sourceimpl<'a, Coord: 'a, Size: SizeDesc> PointCollection<'a, Coord, BackendCoordOnly> for &'a TriangleMarker<Coord, Size>
impl<'a, Coord: 'a, Size: SizeDesc> PointCollection<'a, Coord, BackendCoordOnly> for &'a TriangleMarker<Coord, Size>
sourceimpl<'b, Coord, DB: DrawingBackend, A, B> PointCollection<'b, Coord, BackendCoordOnly> for &'b ComposedElement<Coord, DB, A, B>where
A: Drawable<DB>,
B: Drawable<DB>,
impl<'b, Coord, DB: DrawingBackend, A, B> PointCollection<'b, Coord, BackendCoordOnly> for &'b ComposedElement<Coord, DB, A, B>where
A: Drawable<DB>,
B: Drawable<DB>,
Auto Trait Implementations
impl RefUnwindSafe for BackendCoordOnly
impl Send for BackendCoordOnly
impl Sync for BackendCoordOnly
impl Unpin for BackendCoordOnly
impl UnwindSafe for BackendCoordOnly
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more