Struct freya_components::SliderProps
source · 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: f64
Width of the Slider.
value: f64
Height of the Slider.
Implementations§
Trait Implementations§
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