Enum i_slint_core::items::InputType
source · [−]#[repr(C)]
pub enum InputType {
text,
password,
}
Expand description
This enum defines the input type in a text input which for now only distinguishes a normal input from a password input
Variants
text
This type is used for a normal text input
password
This type is used for password inputs where the characters are represented as *’s
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more