[][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

Loading content...

Required methods

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

Translate the guest coordinate to the guest coordinate

Loading content...

Implementors

impl CoordTranslate for Shift[src]

type From = BackendCoord

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

type From = T::From

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

type From = (X::ValueType, Y::ValueType)

Loading content...