pub struct FloatPrompt { /* private fields */ }Expand description
Prompt the user for a floating-point number.
§Example
use rusty_rich::FloatPrompt;
let height = FloatPrompt::ask_with("Enter height").unwrap();Implementations§
Source§impl FloatPrompt
impl FloatPrompt
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 FloatPrompt
impl !RefUnwindSafe for FloatPrompt
impl Send for FloatPrompt
impl !Sync for FloatPrompt
impl Unpin for FloatPrompt
impl UnsafeUnpin for FloatPrompt
impl !UnwindSafe for FloatPrompt
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