Enum i_slint_core::items::InputType
source · [−]#[repr(C)]
pub enum InputType {
text,
password,
}
Expand description
This enum is used to define the type of the input field. Currently this only differentiates between text and password inputs but in the future it could be expanded to also define what type of virtual keyboard should be shown, for example.
Variants
text
The default value. This will render all characters normally
password
This will render all characters with a character that defaults to “*”
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more