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

Specifies the object to be translated from

Required Methods

Translate the guest coordinate to the guest coordinate

Provided Methods

Get the Z-value of current coordinate

Implementors