pub struct Props {Show 23 fields
pub aria_label: AttrValue,
pub aria_labelled_by: AttrValue,
pub aria_value_text: AttrValue,
pub classes: Classes,
pub color: PrimaryColor,
pub default_value: Vec<i32>,
pub disabled: bool,
pub disable_swap: bool,
pub marks: bool,
pub max: i32,
pub min: i32,
pub name: AttrValue,
pub on_change: Option<Callback<()>>,
pub on_change_committed: Option<Callback<()>>,
pub orientation: Orientation,
pub scale: Option<Callback<()>>,
pub size: Size,
pub step: i32,
pub style: AttrValue,
pub tab_index: Option<i32>,
pub track: Track,
pub value: Vec<i32>,
pub value_label_display: ValueLabel,
}Fields§
§aria_label: AttrValue§aria_labelled_by: AttrValue§aria_value_text: AttrValue§classes: Classes§color: PrimaryColor§default_value: Vec<i32>§disabled: bool§disable_swap: bool§marks: bool§max: i32§min: i32§name: AttrValue§on_change: Option<Callback<()>>§on_change_committed: Option<Callback<()>>§orientation: Orientation§scale: Option<Callback<()>>§size: Size§step: i32§style: AttrValue§tab_index: Option<i32>§track: Track§value: Vec<i32>§value_label_display: ValueLabelTrait Implementations§
Source§impl Properties for Props
impl Properties for Props
impl StructuralPartialEq for Props
Auto Trait Implementations§
impl !RefUnwindSafe for Props
impl !Send for Props
impl !Sync for Props
impl !UnwindSafe for Props
impl Freeze for Props
impl Unpin for Props
impl UnsafeUnpin for Props
Blanket Implementations§
impl<Token, Builder, How> AllPropsFor<Builder, How> for Tokenwhere
Builder: Buildable<Token>,
<Builder as Buildable<Token>>::WrappedToken: HasAllProps<<Builder as Buildable<Token>>::Output, How>,
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,
impl<T> HasAllProps<(), T> for T
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> ⓘ
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.