#[repr(i32)]pub enum InputType {
Normal = 0,
Float = 1,
Int = 2,
Multiline = 4,
Secret = 5,
Input = 7,
Readonly = 8,
Wrap = 16,
}
Expand description
Sets the input widget’s type
Variants§
Normal = 0
Normal input
Float = 1
Float input
Int = 2
Int input
Multiline = 4
Multiline input
Secret = 5
Secret input
Input = 7
Input!
Readonly = 8
Readonly input
Wrap = 16
Wrap input
Trait Implementations§
source§impl PartialEq for InputType
impl PartialEq for InputType
source§impl WidgetType for InputType
impl WidgetType for InputType
impl Copy for InputType
impl Eq for InputType
impl StructuralEq for InputType
impl StructuralPartialEq for InputType
Auto Trait Implementations§
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