pub trait ReversableRanged: Ranged {
// Required method
fn unmap(&self, input: i32, limit: (i32, i32)) -> Option<Self::ValueType>;
}
Expand description
The trait indicates the ranged value can be map reversely, which means an pixel-based cooridinate is given, it’s possible to figureout the underlying logic value.