Trait plotters::coord::CoordTranslate
source · [−]pub trait CoordTranslate {
type From;
fn translate(&self, from: &Self::From) -> BackendCoord;
fn depth(&self, _from: &Self::From) -> i32 { ... }
}
Expand description
The trait that translates some customized object to the backend coordinate
Required Associated Types
Required Methods
fn translate(&self, from: &Self::From) -> BackendCoord
fn translate(&self, from: &Self::From) -> BackendCoord
Translate the guest coordinate to the guest coordinate