pub enum SliderHandle {
Circle,
Line,
}Expand description
Visual style of the slider thumb.
Affects Slider, RangeSlider,
MetricSlider, and
PercentSlider. All four default to
SliderHandle::Circle.
Variants§
Circle
A circular thumb with a pale interior and an accent-coloured ring. This is the default and matches the look of egui’s built-in slider.
Line
A thin, vertical accent-coloured bar. Useful for scrubber-style sliders where the pointer position should sit on top of the rail without a wide thumb obscuring nearby ticks or fill.
Trait Implementations§
Source§impl Clone for SliderHandle
impl Clone for SliderHandle
impl Copy for SliderHandle
Source§impl Debug for SliderHandle
impl Debug for SliderHandle
Source§impl Default for SliderHandle
impl Default for SliderHandle
impl Eq for SliderHandle
Source§impl PartialEq for SliderHandle
impl PartialEq for SliderHandle
impl StructuralPartialEq for SliderHandle
Auto Trait Implementations§
impl Freeze for SliderHandle
impl RefUnwindSafe for SliderHandle
impl Send for SliderHandle
impl Sync for SliderHandle
impl Unpin for SliderHandle
impl UnsafeUnpin for SliderHandle
impl UnwindSafe for SliderHandle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more