pub struct IntPrompt { /* private fields */ }Expand description
Prompt the user for an integer.
§Example
use rusty_rich::IntPrompt;
let age = IntPrompt::ask_with("Enter age").unwrap();Implementations§
Source§impl IntPrompt
impl IntPrompt
Sourcepub fn case_sensitive(self, yes: bool) -> Self
pub fn case_sensitive(self, yes: bool) -> Self
Builder: set case sensitivity.
Auto Trait Implementations§
impl Freeze for IntPrompt
impl !RefUnwindSafe for IntPrompt
impl Send for IntPrompt
impl !Sync for IntPrompt
impl Unpin for IntPrompt
impl UnsafeUnpin for IntPrompt
impl !UnwindSafe for IntPrompt
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