pub enum RangeAction {
SetFraction(f64),
CommitFraction(f64),
SetValue(f64),
SetPoint {
x: f64,
y: f64,
},
Decrease,
Increase,
Step(i64),
Minimum,
Maximum,
Release,
}Expand description
The normalized input understood by range controls, independent of the backend.
Variants§
SetFraction(f64)
CommitFraction(f64)
SetValue(f64)
SetPoint
Decrease
Increase
Step(i64)
Minimum
Maximum
Release
Implementations§
Source§impl RangeAction
impl RangeAction
pub fn is_release(self) -> bool
Trait Implementations§
Source§impl Clone for RangeAction
impl Clone for RangeAction
impl Copy for RangeAction
Source§impl Debug for RangeAction
impl Debug for RangeAction
Source§impl PartialEq for RangeAction
impl PartialEq for RangeAction
impl StructuralPartialEq for RangeAction
Auto Trait Implementations§
impl Forget for RangeAction
impl Freeze for RangeAction
impl Move for RangeAction
impl RefUnwindSafe for RangeAction
impl Send for RangeAction
impl Sync for RangeAction
impl Unpin for RangeAction
impl UnsafeUnpin for RangeAction
impl UnwindSafe for RangeAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more