pub struct SliderThumb {
pub elevation: f32,
pub on_top: bool,
}Expand description
How a thumb is to be painted this time.
Fields§
§elevation: f32How far it stands off the track: the resting height, or on its way to the pressed one.
on_top: boolOn a range slider, whether it lies over the other thumb — the reference rings the one on top so that the two stay two.
Trait Implementations§
Source§impl Clone for SliderThumb
impl Clone for SliderThumb
impl Copy for SliderThumb
Source§impl Debug for SliderThumb
impl Debug for SliderThumb
Source§impl PartialEq for SliderThumb
impl PartialEq for SliderThumb
impl StructuralPartialEq for SliderThumb
Auto Trait Implementations§
impl Freeze for SliderThumb
impl RefUnwindSafe for SliderThumb
impl Send for SliderThumb
impl Sync for SliderThumb
impl Unpin for SliderThumb
impl UnsafeUnpin for SliderThumb
impl UnwindSafe for SliderThumb
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