pub struct Input {
pub value: String,
pub error: Option<String>,
pub focused: bool,
/* private fields */
}
Fields§
§value: String
§error: Option<String>
§focused: bool
Implementations§
Source§impl Input
impl Input
pub fn text_style(self, style: Style) -> Self
pub fn editing_style(self, style: Style) -> Self
pub fn error_style(self, style: Style) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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