pub trait ReversibleRanged: 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 coordinate is given, it’s possible to figure out the underlying logic value.

Required Methods§

source

fn unmap(&self, input: i32, limit: (i32, i32)) -> Option<Self::ValueType>

Perform the reverse mapping

Implementors§