pub enum ShowValueIndicator {
OnlyForDiscrete,
OnlyForContinuous,
OnDrag,
AlwaysVisible,
Never,
}Expand description
When a slider shows its value indicator — the reference’s ShowValueIndicator.
The indicator is the label a Slider::value_label formats, in a drop over the thumb.
Variants§
OnlyForDiscrete
While it is dragged or focused, on a slider with divisions only — the default.
OnlyForContinuous
While it is dragged or focused, on a slider without divisions only.
OnDrag
While it is dragged or focused, whatever the slider.
AlwaysVisible
All the time.
Never
Never.
Trait Implementations§
Source§impl Clone for ShowValueIndicator
impl Clone for ShowValueIndicator
impl Copy for ShowValueIndicator
Source§impl Debug for ShowValueIndicator
impl Debug for ShowValueIndicator
Source§impl Default for ShowValueIndicator
impl Default for ShowValueIndicator
impl Eq for ShowValueIndicator
Source§impl Hash for ShowValueIndicator
impl Hash for ShowValueIndicator
Source§impl PartialEq for ShowValueIndicator
impl PartialEq for ShowValueIndicator
impl StructuralPartialEq for ShowValueIndicator
Auto Trait Implementations§
impl Freeze for ShowValueIndicator
impl RefUnwindSafe for ShowValueIndicator
impl Send for ShowValueIndicator
impl Sync for ShowValueIndicator
impl Unpin for ShowValueIndicator
impl UnsafeUnpin for ShowValueIndicator
impl UnwindSafe for ShowValueIndicator
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