[][src]Trait plotters::coord::CoordTranslate

pub trait CoordTranslate {
    type From;
    fn translate(&self, from: &Self::From) -> BackendCoord;
}
[]

The trait that translates some customized object to the backend coordinate

Associated Types

type From

Required methods

fn translate(&self, from: &Self::From) -> BackendCoord[]

Translate the guest coordinate to the guest coordinate

Implementations on Foreign Types

impl<T: CoordTranslate> CoordTranslate for Rc<T>[src][]

type From = T::From

impl<T: CoordTranslate> CoordTranslate for Arc<T>[src][]

type From = T::From

Implementors

impl CoordTranslate for Shift[src][]

impl<T: CoordTranslate> CoordTranslate for ShiftAndTrans<T>[src][]

impl<X: Ranged, Y: Ranged> CoordTranslate for RangedCoord<X, Y>[src][]