pub fn valid_step<T: Value>(step: T, range: &RangeInclusive<T>) -> Option<T>Available on crate feature
slider only.Expand description
Returns step if it is positive, capped at the width of range.
pub fn valid_step<T: Value>(step: T, range: &RangeInclusive<T>) -> Option<T>slider only.Returns step if it is positive, capped at the width of range.