pub struct RangeLabels {
pub start: String,
pub end: String,
}Expand description
Object for setting range slider label values that appear in the value indicator for each thumb.
Used in combination with SliderThemeData::show_value_indicator to display
labels above the thumbs.
Fields§
§start: StringThe label of the start thumb.
For LTR text direction, the start is the left thumb, and for RTL text direction, the start is the right thumb.
end: StringThe label of the end thumb.
For LTR text direction, the end is the right thumb, and for RTL text direction, the end is the left thumb.
Implementations§
Source§impl RangeLabels
impl RangeLabels
Trait Implementations§
Source§impl Clone for RangeLabels
impl Clone for RangeLabels
Source§impl Debug for RangeLabels
impl Debug for RangeLabels
impl Eq for RangeLabels
Source§impl Hash for RangeLabels
impl Hash for RangeLabels
Source§impl PartialEq for RangeLabels
impl PartialEq for RangeLabels
impl StructuralPartialEq for RangeLabels
Auto Trait Implementations§
impl Forget for RangeLabels
impl Freeze for RangeLabels
impl Move for RangeLabels
impl RefUnwindSafe for RangeLabels
impl Send for RangeLabelswhere
RawVecInner: Send,
impl Sync for RangeLabelswhere
RawVecInner: Sync,
impl Unpin for RangeLabels
impl UnsafeUnpin for RangeLabels
impl UnwindSafe for RangeLabelswhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.