pub enum SliderVariant {
Continuous,
Discrete,
Range,
}Variants§
Continuous
Discrete
Snaps to discrete tick positions; the style typically paints the ticks above/below the track.
Range
Two thumbs: the value is a (low, high) range. Here for
completeness; the IntUI default impl does NOT yet wire range
behaviour — apps that need range sliders write a custom
impl.
Trait Implementations§
Source§impl Clone for SliderVariant
impl Clone for SliderVariant
Source§fn clone(&self) -> SliderVariant
fn clone(&self) -> SliderVariant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SliderVariant
Source§impl Debug for SliderVariant
impl Debug for SliderVariant
Source§impl Default for SliderVariant
impl Default for SliderVariant
Source§fn default() -> SliderVariant
fn default() -> SliderVariant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SliderVariant
impl<'de> Deserialize<'de> for SliderVariant
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SliderVariant
Source§impl Hash for SliderVariant
impl Hash for SliderVariant
Source§impl PartialEq for SliderVariant
impl PartialEq for SliderVariant
Source§impl Serialize for SliderVariant
impl Serialize for SliderVariant
impl StructuralPartialEq for SliderVariant
Auto Trait Implementations§
impl Freeze for SliderVariant
impl RefUnwindSafe for SliderVariant
impl Send for SliderVariant
impl Sync for SliderVariant
impl Unpin for SliderVariant
impl UnsafeUnpin for SliderVariant
impl UnwindSafe for SliderVariant
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