pub struct InputBox { /* private fields */ }Implementations§
Source§impl InputBox
impl InputBox
pub fn new<S: Into<String>>(title: S, message: S) -> Self
pub fn with_default<S: Into<String>>(self, default: S) -> Self
pub fn password(self, is_password: bool) -> Self
pub fn default_value(&self) -> Option<&str>
pub fn is_password(&self) -> bool
pub fn run_modal(&self) -> Option<String>
Auto Trait Implementations§
impl Freeze for InputBox
impl RefUnwindSafe for InputBox
impl Send for InputBox
impl Sync for InputBox
impl Unpin for InputBox
impl UnwindSafe for InputBox
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