pub enum SliderInteraction {
TapAndSlide,
TapOnly,
SlideOnly,
SlideThumb,
}Expand description
What a press and a slide may do to a slider (milestone 650) — the reference’s
SliderInteraction.
Variants§
TapAndSlide
A press moves the thumb to it, and a slide carries it on: the default.
TapOnly
A press moves the thumb to it; a slide does nothing.
SlideOnly
A press does nothing; a slide moves the thumb by its own length, from where it was, wherever on the track it starts.
SlideThumb
As SlideOnly, and only for a slide that starts on the thumb.
Trait Implementations§
Source§impl Clone for SliderInteraction
impl Clone for SliderInteraction
impl Copy for SliderInteraction
Source§impl Debug for SliderInteraction
impl Debug for SliderInteraction
Source§impl Default for SliderInteraction
impl Default for SliderInteraction
impl Eq for SliderInteraction
Source§impl Hash for SliderInteraction
impl Hash for SliderInteraction
Source§impl PartialEq for SliderInteraction
impl PartialEq for SliderInteraction
impl StructuralPartialEq for SliderInteraction
Auto Trait Implementations§
impl Freeze for SliderInteraction
impl RefUnwindSafe for SliderInteraction
impl Send for SliderInteraction
impl Sync for SliderInteraction
impl Unpin for SliderInteraction
impl UnsafeUnpin for SliderInteraction
impl UnwindSafe for SliderInteraction
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