[−][src]Trait kas::widget::SliderType
Requirements on type used by Slider
Required methods
pub fn div_as_f64(self, rhs: Self) -> f64
[src]
Divide self by another instance of this type, returning an f64
Note: in practice, we always have rhs >= self
and expect the result
to be between 0 and 1.
pub fn mul_f64(self, scalar: f64) -> Self
[src]
Return the result of multiplying self by an f64
scalar
Note: the scalar
is expected to be between 0 and 1, hence this
operation should not produce a value outside the range of Self
.