CoordTranslate

Trait CoordTranslate 

Source
pub trait CoordTranslate {
    type From;

    // Required method
    fn translate(&self, from: &Self::From) -> BackendCoord;
}
Expand description

The trait that translates some customized object to the backend coordinate

Required Associated Types§

Required Methods§

Source

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

Translate the guest coordinate to the guest coordinate

Implementors§