pub struct Slider {
pub background: Property<Color>,
pub accent: Property<Color>,
pub border_radius: Property<f64>,
pub value: Property<f64>,
pub step: Property<f64>,
pub min: Property<f64>,
pub max: Property<f64>,
}Expand description
A platform-native Slider control
Fields§
§background: Property<Color>§accent: Property<Color>§border_radius: Property<f64>§value: Property<f64>§step: Property<f64>§min: Property<f64>§max: Property<f64>Trait Implementations§
source§impl CoercionRules for Slider
impl CoercionRules for Slider
source§impl<'de> Deserialize<'de> for Slider
impl<'de> Deserialize<'de> for Slider
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
source§impl HelperFunctions for Slider
impl HelperFunctions for Slider
source§impl Interpolatable for Slider
impl Interpolatable for Slider
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl ToPaxValue for Slider
impl ToPaxValue for Slider
fn to_pax_value(self) -> PaxValue
impl ImplToFromPaxAny for Slider
Auto Trait Implementations§
impl Freeze for Slider
impl RefUnwindSafe for Slider
impl Send for Slider
impl Sync for Slider
impl Unpin for Slider
impl UnwindSafe for Slider
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.