pub enum TextInputValidationLevel {
None,
Info,
Warning,
Error,
Corrected,
}Expand description
Validation outcome state, separate from interaction state. Drives border-color tinting and the per-state recipe lookup independently of focus/hover.
Variants§
Trait Implementations§
Source§impl Clone for TextInputValidationLevel
impl Clone for TextInputValidationLevel
Source§fn clone(&self) -> TextInputValidationLevel
fn clone(&self) -> TextInputValidationLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextInputValidationLevel
Source§impl Debug for TextInputValidationLevel
impl Debug for TextInputValidationLevel
Source§impl Default for TextInputValidationLevel
impl Default for TextInputValidationLevel
Source§fn default() -> TextInputValidationLevel
fn default() -> TextInputValidationLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextInputValidationLevel
impl<'de> Deserialize<'de> for TextInputValidationLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TextInputValidationLevel
Source§impl Hash for TextInputValidationLevel
impl Hash for TextInputValidationLevel
Source§impl PartialEq for TextInputValidationLevel
impl PartialEq for TextInputValidationLevel
Source§impl Serialize for TextInputValidationLevel
impl Serialize for TextInputValidationLevel
impl StructuralPartialEq for TextInputValidationLevel
Auto Trait Implementations§
impl Freeze for TextInputValidationLevel
impl RefUnwindSafe for TextInputValidationLevel
impl Send for TextInputValidationLevel
impl Sync for TextInputValidationLevel
impl Unpin for TextInputValidationLevel
impl UnsafeUnpin for TextInputValidationLevel
impl UnwindSafe for TextInputValidationLevel
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