pub struct StdinInput;Expand description
Reads from standard input — the default for Prompt::ask.
Trait Implementations§
Source§impl InputSource for StdinInput
impl InputSource for StdinInput
Auto Trait Implementations§
impl Freeze for StdinInput
impl RefUnwindSafe for StdinInput
impl Send for StdinInput
impl Sync for StdinInput
impl Unpin for StdinInput
impl UnsafeUnpin for StdinInput
impl UnwindSafe for StdinInput
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