Struct material_yew::slider::SliderProps
source · pub struct SliderProps {
pub value: u32,
pub min: u32,
pub max: u32,
pub step: u32,
pub pin: bool,
pub markers: bool,
pub oninput: Callback<CustomEvent>,
pub onchange: Callback<CustomEvent>,
}
Expand description
Fields§
§value: u32
§min: u32
§max: u32
§step: u32
§pin: bool
§markers: bool
§oninput: Callback<CustomEvent>
Binds to input on mwc-slider
Type passed to callback is CustomEvent
because Slider
is
undocumented See: https://github.com/material-components/material-components-web-components/issues/1848
onchange: Callback<CustomEvent>
Binds to change on mwc-slider
Type passed to callback is CustomEvent
because Slider
is
undocumented See: https://github.com/material-components/material-components-web-components/issues/1848
Trait Implementations§
source§impl Clone for SliderProps
impl Clone for SliderProps
source§fn clone(&self) -> SliderProps
fn clone(&self) -> SliderProps
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SliderProps
impl Debug for SliderProps
source§impl PartialEq<SliderProps> for SliderProps
impl PartialEq<SliderProps> for SliderProps
source§fn eq(&self, other: &SliderProps) -> bool
fn eq(&self, other: &SliderProps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Properties for SliderProps
impl Properties for SliderProps
impl StructuralPartialEq for SliderProps
Auto Trait Implementations§
impl !RefUnwindSafe for SliderProps
impl !Send for SliderProps
impl !Sync for SliderProps
impl Unpin for SliderProps
impl !UnwindSafe for SliderProps
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.