pub enum SliderFormat {
Number,
Percent,
Duration,
Other(String),
}Expand description
How a slider’s value reads.
Variants§
Number
The value with the step’s decimals, then unit (the default).
Percent
A fraction as a percentage.
Duration
Milliseconds as 200 ms, 1.2 s, 1 min 30 s.
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
Source§impl Clone for SliderFormat
impl Clone for SliderFormat
Source§impl Debug for SliderFormat
impl Debug for SliderFormat
Source§impl Display for SliderFormat
impl Display for SliderFormat
impl Eq for SliderFormat
Source§impl From<&str> for SliderFormat
impl From<&str> for SliderFormat
Source§impl From<String> for SliderFormat
impl From<String> for SliderFormat
Source§impl Hash for SliderFormat
impl Hash for SliderFormat
Source§impl PartialEq for SliderFormat
impl PartialEq for SliderFormat
Source§impl Serialize for SliderFormat
impl Serialize for SliderFormat
impl StructuralPartialEq for SliderFormat
Auto Trait Implementations§
impl Freeze for SliderFormat
impl RefUnwindSafe for SliderFormat
impl Send for SliderFormat
impl Sync for SliderFormat
impl Unpin for SliderFormat
impl UnsafeUnpin for SliderFormat
impl UnwindSafe for SliderFormat
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<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.