pub struct InputProps {
pub name: Option<RUMString>,
pub typ: Option<RUMString>,
pub value: Option<RUMString>,
pub placeholder: Option<RUMString>,
pub max_length: Option<usize>,
pub min_length: Option<usize>,
pub autocapitalize: bool,
pub autocomplete: bool,
pub autocorrect: bool,
pub autofocus: bool,
pub disabled: bool,
pub required: bool,
}Fields§
§name: Option<RUMString>§typ: Option<RUMString>§value: Option<RUMString>§placeholder: Option<RUMString>§max_length: Option<usize>§min_length: Option<usize>§autocapitalize: bool§autocomplete: bool§autocorrect: bool§autofocus: bool§disabled: bool§required: boolImplementations§
Source§impl InputProps
impl InputProps
Trait Implementations§
Source§impl Clone for InputProps
impl Clone for InputProps
Source§fn clone(&self) -> InputProps
fn clone(&self) -> InputProps
Returns a duplicate 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 InputProps
impl Debug for InputProps
Source§impl Default for InputProps
impl Default for InputProps
Source§fn default() -> InputProps
fn default() -> InputProps
Returns the “default value” for a type. Read more
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
Mutably borrows from an owned value. Read more