pub trait TransformableVariable<View> {
// Required methods
fn scaled(&self, scale: i32) -> View;
fn offset(&self, offset: i32) -> View;
}Expand description
Trait for transforming a variable.
At the moment this allows creating a scaled version of a
variable using TransformableVariable::scaled or creating a variable with a constant offset
based on the original variable using TransformableVariable::offset.