pub struct InputProps { /* private fields */ }dio only.Implementationsยง
Sourceยงimpl InputProps
impl InputProps
Sourcepub fn builder() -> InputPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> InputPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building InputProps.
On the builder, call .input_ref(...)(optional), .min(...)(optional), .max(...)(optional), .step(...)(optional), .value(...)(optional), .orientation(...)(optional), .size(...)(optional), .width(...)(optional), .height(...)(optional), .color(...)(optional), .cursor_style(...)(optional), .disabled(...)(optional), .on_input(...)(optional), .on_focus(...)(optional), .on_blur(...)(optional), .aria_label(...)(optional), .aria_describedby(...)(optional), .datalist_id(...)(optional), .input_class(...)(optional), .input_style(...)(optional), .use_gradient(...)(optional), .custom_thumb_css(...)(optional), .custom_thumb_html(...)(optional), .keyboard_step(...)(optional), .rtl_fill(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of InputProps.
Trait Implementationsยง
Sourceยงimpl Clone for InputProps
impl Clone for InputProps
Sourceยงfn clone(&self) -> InputProps
fn clone(&self) -> InputProps
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSourceยงimpl PartialEq for InputProps
impl PartialEq for InputProps
Sourceยงimpl Properties for InputPropswhere
Self: Clone,
impl Properties for InputPropswhere
Self: Clone,
Sourceยงtype Builder = InputPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
type Builder = InputPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Sourceยงfn memoize(&mut self, new: &Self) -> bool
fn memoize(&mut self, new: &Self) -> bool
Sourceยงfn into_vcomponent<M>(
self,
render_fn: impl ComponentFunction<Self, M>,
) -> VComponentwhere
M: 'static,
fn into_vcomponent<M>(
self,
render_fn: impl ComponentFunction<Self, M>,
) -> VComponentwhere
M: 'static,
impl StructuralPartialEq for InputProps
Auto Trait Implementationsยง
impl !Freeze for InputProps
impl !RefUnwindSafe for InputProps
impl !Send for InputProps
impl !Sync for InputProps
impl Unpin for InputProps
impl !UnwindSafe for InputProps
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
Sourceยงfn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> 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>
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
self to a value of a Properties struct.