Trait kas_widgets::SpinnerValue
source · pub trait SpinnerValue: Copy + PartialOrd + Debug + FromStr + ToString + 'static {
// Required methods
fn clamp(self, l_bound: Self, u_bound: Self) -> Self;
fn add_step(self, step: Self, u_bound: Self) -> Self;
fn sub_step(self, step: Self, l_bound: Self) -> Self;
}
Expand description
Requirements on type used by Spinner
Implementations are provided for standard float and integer types.