pub struct InputProps<'a> {Show 20 fields
pub id: Option<RUMString>,
pub name: Option<RUMString>,
pub typ: Option<RUMString>,
pub value: Option<RUMString>,
pub max: Option<RUMString>,
pub placeholder: Option<RUMString>,
pub pattern: Option<RUMString>,
pub accept: Option<RUMString>,
pub alt: Option<RUMString>,
pub aria_label: Option<RUMString>,
pub event_handlers: Option<Vec<(&'a str, &'a str)>>,
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 hidden: bool,
pub required: bool,
}Fields§
§id: Option<RUMString>§name: Option<RUMString>§typ: Option<RUMString>§value: Option<RUMString>§max: Option<RUMString>§placeholder: Option<RUMString>§pattern: Option<RUMString>§accept: Option<RUMString>§alt: Option<RUMString>§aria_label: Option<RUMString>§event_handlers: Option<Vec<(&'a str, &'a str)>>§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<'a> Clone for InputProps<'a>
impl<'a> Clone for InputProps<'a>
Source§fn clone(&self) -> InputProps<'a>
fn clone(&self) -> InputProps<'a>
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<'a> Debug for InputProps<'a>
impl<'a> Debug for InputProps<'a>
Source§impl<'a> Default for InputProps<'a>
impl<'a> Default for InputProps<'a>
Source§fn default() -> InputProps<'a>
fn default() -> InputProps<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for InputProps<'a>
impl<'a> RefUnwindSafe for InputProps<'a>
impl<'a> Send for InputProps<'a>
impl<'a> Sync for InputProps<'a>
impl<'a> Unpin for InputProps<'a>
impl<'a> UnwindSafe for InputProps<'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