pub enum SliderValue {
One(f64),
Range(f64, f64),
}Expand description
A slider’s value: one, or a range drawn with two thumbs.
Variants§
Trait Implementations§
Source§impl Clone for SliderValue
impl Clone for SliderValue
impl Copy for SliderValue
Source§impl Debug for SliderValue
impl Debug for SliderValue
Source§impl From<f64> for SliderValue
impl From<f64> for SliderValue
Source§impl PartialEq for SliderValue
impl PartialEq for SliderValue
Source§impl Serialize for SliderValue
impl Serialize for SliderValue
impl StructuralPartialEq for SliderValue
Auto Trait Implementations§
impl Freeze for SliderValue
impl RefUnwindSafe for SliderValue
impl Send for SliderValue
impl Sync for SliderValue
impl Unpin for SliderValue
impl UnsafeUnpin for SliderValue
impl UnwindSafe for SliderValue
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