Trait plotters::element::CoordMapper[][src]

pub trait CoordMapper {
    type Output;
    fn map<CT: CoordTranslate>(
        coord_trans: &CT,
        from: &CT::From,
        rect: &Rect
    ) -> Self::Output; }

Associated Types

Required methods

fn map<CT: CoordTranslate>(
    coord_trans: &CT,
    from: &CT::From,
    rect: &Rect
) -> Self::Output
[src]

Implementors

impl CoordMapper for BackendCoordAndZ[src]

type Output = (BackendCoord, i32)

fn map<CT: CoordTranslate>(
    coord_trans: &CT,
    from: &CT::From,
    rect: &Rect
) -> (BackendCoord, i32)
[src]

impl CoordMapper for BackendCoordOnly[src]

type Output = BackendCoord

fn map<CT: CoordTranslate>(
    coord_trans: &CT,
    from: &CT::From,
    rect: &Rect
) -> BackendCoord
[src]