Struct freya::prelude::SliderProps  
pub struct SliderProps<'a> {
    pub onmoved: EventHandler<'a, f64>,
    pub width: f64,
    pub value: f64,
}Expand description
Slider component properties.
Fields§
§onmoved: EventHandler<'a, f64>Handler for the onmoved event.
width: f64Width of the Slider.
value: f64Height of the Slider.
Implementations§
Trait Implementations§
§impl<'a> Properties for SliderProps<'a>
 
impl<'a> Properties for SliderProps<'a>
§type Builder = SliderPropsBuilder<'a, ((), (), ())>
 
type Builder = SliderPropsBuilder<'a, ((), (), ())>
The type of the builder for this component.
Used to create “in-progress” versions of the props.
§fn builder() -> <SliderProps<'a> as Properties>::Builder
 
fn builder() -> <SliderProps<'a> as Properties>::Builder
Create a builder for this component.
§unsafe fn memoize(&self, other: &SliderProps<'a>) -> bool
 
unsafe fn memoize(&self, other: &SliderProps<'a>) -> bool
Memoization can only happen if the props are valid for the ’static lifetime Read more
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SliderProps<'a>
impl<'a> !Send for SliderProps<'a>
impl<'a> !Sync for SliderProps<'a>
impl<'a> Unpin for SliderProps<'a>
impl<'a> !UnwindSafe for SliderProps<'a>
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