pub struct SliderShape<T: ?Sized>(/* private fields */);Expand description
A part held by a slider or a theme: shared, and compared by identity, so that a theme holding one still compares and clones as a value does.
Implementations§
Source§impl SliderShape<dyn SliderTrackShape>
impl SliderShape<dyn SliderTrackShape>
Sourcepub fn track(shape: impl SliderTrackShape + 'static) -> Self
pub fn track(shape: impl SliderTrackShape + 'static) -> Self
A track shape to hold.
Source§impl SliderShape<dyn SliderTickMarkShape>
impl SliderShape<dyn SliderTickMarkShape>
Sourcepub fn tick_mark(shape: impl SliderTickMarkShape + 'static) -> Self
pub fn tick_mark(shape: impl SliderTickMarkShape + 'static) -> Self
A tick mark shape to hold.
Source§impl SliderShape<dyn SliderThumbShape>
impl SliderShape<dyn SliderThumbShape>
Sourcepub fn thumb(shape: impl SliderThumbShape + 'static) -> Self
pub fn thumb(shape: impl SliderThumbShape + 'static) -> Self
A thumb shape to hold.
Source§impl SliderShape<dyn SliderOverlayShape>
impl SliderShape<dyn SliderOverlayShape>
Sourcepub fn overlay(shape: impl SliderOverlayShape + 'static) -> Self
pub fn overlay(shape: impl SliderOverlayShape + 'static) -> Self
A halo shape to hold.
Source§impl SliderShape<dyn SliderValueIndicatorShape>
impl SliderShape<dyn SliderValueIndicatorShape>
Sourcepub fn value_indicator(shape: impl SliderValueIndicatorShape + 'static) -> Self
pub fn value_indicator(shape: impl SliderValueIndicatorShape + 'static) -> Self
A value indicator shape to hold.
Trait Implementations§
Source§impl<T: ?Sized> Clone for SliderShape<T>
impl<T: ?Sized> Clone for SliderShape<T>
Source§impl<T: ?Sized> Debug for SliderShape<T>
impl<T: ?Sized> Debug for SliderShape<T>
Source§impl<T: ?Sized> Deref for SliderShape<T>
impl<T: ?Sized> Deref for SliderShape<T>
Auto Trait Implementations§
impl<T> !Send for SliderShape<T>
impl<T> !Sync for SliderShape<T>
impl<T> Freeze for SliderShape<T>
impl<T> RefUnwindSafe for SliderShape<T>
impl<T> Unpin for SliderShape<T>
impl<T> UnsafeUnpin for SliderShape<T>
impl<T> UnwindSafe for SliderShape<T>
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