pub enum InputType {
Show 22 variants
Text,
Password,
Radio,
Checkbox,
Number,
Range,
Date,
DateTime,
Month,
Week,
Time,
Url,
Email,
Tel,
Color,
File,
Search,
Button,
Submit,
Reset,
Image,
Hidden,
}
Expand description
Different input types, use with Element::Input()
. Used as value of
the type
attribute on an HTML input
element.
Variants§
Text
Password
Radio
Checkbox
Number
Range
Date
DateTime
Month
Week
Time
Url
Tel
Color
File
Search
Button
Submit
Reset
Image
Hidden
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InputType
impl RefUnwindSafe for InputType
impl Send for InputType
impl Sync for InputType
impl Unpin for InputType
impl UnwindSafe for InputType
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